@patternfly/react-table 4.61.11 → 4.61.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.
- package/CHANGELOG.md +38 -0
- package/dist/esm/components/Table/ActionsColumn.d.ts.map +1 -1
- package/dist/esm/components/Table/ActionsColumn.js +5 -4
- package/dist/esm/components/Table/ActionsColumn.js.map +1 -1
- package/dist/esm/components/Table/TableTypes.d.ts +11 -36
- package/dist/esm/components/Table/TableTypes.d.ts.map +1 -1
- package/dist/js/components/Table/ActionsColumn.d.ts.map +1 -1
- package/dist/js/components/Table/ActionsColumn.js +5 -4
- package/dist/js/components/Table/ActionsColumn.js.map +1 -1
- package/dist/js/components/Table/TableTypes.d.ts +11 -36
- package/dist/js/components/Table/TableTypes.d.ts.map +1 -1
- package/dist/umd/react-table.css +142 -142
- package/dist/umd/react-table.js +5 -4
- package/dist/umd/react-table.min.js +1 -1
- package/package.json +6 -6
- package/src/components/Table/ActionsColumn.tsx +23 -34
- package/src/components/Table/TableTypes.tsx +11 -43
- package/src/components/TableComposable/examples/ComposableTable.md +0 -3
package/dist/umd/react-table.css
CHANGED
|
@@ -10918,6 +10918,62 @@ button.pf-c-breadcrumb__link {
|
|
|
10918
10918
|
overflow-y: visible;
|
|
10919
10919
|
}
|
|
10920
10920
|
}
|
|
10921
|
+
.pf-c-date-picker {
|
|
10922
|
+
--pf-c-date-picker--m-top__calendar--Top: 0;
|
|
10923
|
+
--pf-c-date-picker--m-top__calendar--TranslateY: calc(-100% - var(--pf-global--spacer--xs));
|
|
10924
|
+
--pf-c-date-picker__helper-text--MarginTop: var(--pf-global--spacer--xs);
|
|
10925
|
+
--pf-c-date-picker__helper-text--FontSize: var(--pf-global--FontSize--sm);
|
|
10926
|
+
--pf-c-date-picker__helper-text--Color: var(--pf-global--Color--100);
|
|
10927
|
+
--pf-c-date-picker__helper-text--m-error--Color: var(--pf-global--danger-color--100);
|
|
10928
|
+
--pf-c-date-picker__input--c-form-control--Width: calc(var(--pf-c-date-picker__input--c-form-control--width-chars) * 1ch + var(--pf-c-date-picker__input--c-form-control--width-base));
|
|
10929
|
+
--pf-c-date-picker__input--c-form-control--width-base: calc(var(--pf-global--spacer--xl) + var(--pf-global--spacer--sm));
|
|
10930
|
+
--pf-c-date-picker__input--c-form-control--width-chars: 10;
|
|
10931
|
+
--pf-c-date-picker__calendar--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
10932
|
+
--pf-c-date-picker__calendar--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
10933
|
+
--pf-c-date-picker__calendar--ZIndex: var(--pf-global--ZIndex--sm);
|
|
10934
|
+
--pf-c-date-picker__calendar--Top: calc(100% + var(--pf-global--spacer--xs));
|
|
10935
|
+
--pf-c-date-picker__calendar--Right: auto;
|
|
10936
|
+
--pf-c-date-picker__calendar--Left: 0;
|
|
10937
|
+
--pf-c-date-picker__calendar--m-align-right--Right: 0;
|
|
10938
|
+
--pf-c-date-picker__calendar--m-align-right--Left: auto;
|
|
10939
|
+
position: relative;
|
|
10940
|
+
display: inline-block;
|
|
10941
|
+
}
|
|
10942
|
+
|
|
10943
|
+
.pf-c-date-picker__helper-text {
|
|
10944
|
+
margin-top: var(--pf-c-date-picker__helper-text--MarginTop);
|
|
10945
|
+
font-size: var(--pf-c-date-picker__helper-text--FontSize);
|
|
10946
|
+
color: var(--pf-c-date-picker__helper-text--Color);
|
|
10947
|
+
}
|
|
10948
|
+
|
|
10949
|
+
.pf-c-date-picker__helper-text.pf-m-error {
|
|
10950
|
+
--pf-c-date-picker__helper-text--Color: var(--pf-c-date-picker__helper-text--m-error--Color);
|
|
10951
|
+
}
|
|
10952
|
+
|
|
10953
|
+
.pf-c-date-picker__input .pf-c-form-control {
|
|
10954
|
+
width: var(--pf-c-date-picker__input--c-form-control--Width);
|
|
10955
|
+
}
|
|
10956
|
+
|
|
10957
|
+
.pf-c-date-picker__calendar {
|
|
10958
|
+
position: absolute;
|
|
10959
|
+
top: var(--pf-c-date-picker__calendar--Top);
|
|
10960
|
+
right: var(--pf-c-date-picker__calendar--Right);
|
|
10961
|
+
left: var(--pf-c-date-picker__calendar--Left);
|
|
10962
|
+
z-index: var(--pf-c-date-picker__calendar--ZIndex);
|
|
10963
|
+
background-color: var(--pf-c-date-picker__calendar--BackgroundColor);
|
|
10964
|
+
box-shadow: var(--pf-c-date-picker__calendar--BoxShadow);
|
|
10965
|
+
}
|
|
10966
|
+
|
|
10967
|
+
.pf-c-date-picker__calendar.pf-m-align-right {
|
|
10968
|
+
--pf-c-date-picker__calendar--Right: var(--pf-c-date-picker__calendar--m-align-right--Right);
|
|
10969
|
+
--pf-c-date-picker__calendar--Left: var(--pf-c-date-picker__calendar--m-align-right--Left);
|
|
10970
|
+
}
|
|
10971
|
+
|
|
10972
|
+
.pf-c-date-picker.pf-m-top .pf-c-date-picker__calendar {
|
|
10973
|
+
--pf-c-date-picker__calendar--Top: var(--pf-c-date-picker--m-top__calendar--Top);
|
|
10974
|
+
transform: translateY(var(--pf-c-date-picker--m-top__calendar--TranslateY));
|
|
10975
|
+
}
|
|
10976
|
+
|
|
10921
10977
|
.pf-c-description-list {
|
|
10922
10978
|
--pf-c-description-list--RowGap: var(--pf-global--gutter--md);
|
|
10923
10979
|
--pf-c-description-list--ColumnGap: var(--pf-global--spacer--lg);
|
|
@@ -11233,62 +11289,6 @@ button.pf-c-breadcrumb__link {
|
|
|
11233
11289
|
--pf-c-description-list__group--GridTemplateColumns: var(--pf-c-description-list--m-vertical__group--GridTemplateColumns);
|
|
11234
11290
|
}
|
|
11235
11291
|
}
|
|
11236
|
-
.pf-c-date-picker {
|
|
11237
|
-
--pf-c-date-picker--m-top__calendar--Top: 0;
|
|
11238
|
-
--pf-c-date-picker--m-top__calendar--TranslateY: calc(-100% - var(--pf-global--spacer--xs));
|
|
11239
|
-
--pf-c-date-picker__helper-text--MarginTop: var(--pf-global--spacer--xs);
|
|
11240
|
-
--pf-c-date-picker__helper-text--FontSize: var(--pf-global--FontSize--sm);
|
|
11241
|
-
--pf-c-date-picker__helper-text--Color: var(--pf-global--Color--100);
|
|
11242
|
-
--pf-c-date-picker__helper-text--m-error--Color: var(--pf-global--danger-color--100);
|
|
11243
|
-
--pf-c-date-picker__input--c-form-control--Width: calc(var(--pf-c-date-picker__input--c-form-control--width-chars) * 1ch + var(--pf-c-date-picker__input--c-form-control--width-base));
|
|
11244
|
-
--pf-c-date-picker__input--c-form-control--width-base: calc(var(--pf-global--spacer--xl) + var(--pf-global--spacer--sm));
|
|
11245
|
-
--pf-c-date-picker__input--c-form-control--width-chars: 10;
|
|
11246
|
-
--pf-c-date-picker__calendar--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
11247
|
-
--pf-c-date-picker__calendar--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
11248
|
-
--pf-c-date-picker__calendar--ZIndex: var(--pf-global--ZIndex--sm);
|
|
11249
|
-
--pf-c-date-picker__calendar--Top: calc(100% + var(--pf-global--spacer--xs));
|
|
11250
|
-
--pf-c-date-picker__calendar--Right: auto;
|
|
11251
|
-
--pf-c-date-picker__calendar--Left: 0;
|
|
11252
|
-
--pf-c-date-picker__calendar--m-align-right--Right: 0;
|
|
11253
|
-
--pf-c-date-picker__calendar--m-align-right--Left: auto;
|
|
11254
|
-
position: relative;
|
|
11255
|
-
display: inline-block;
|
|
11256
|
-
}
|
|
11257
|
-
|
|
11258
|
-
.pf-c-date-picker__helper-text {
|
|
11259
|
-
margin-top: var(--pf-c-date-picker__helper-text--MarginTop);
|
|
11260
|
-
font-size: var(--pf-c-date-picker__helper-text--FontSize);
|
|
11261
|
-
color: var(--pf-c-date-picker__helper-text--Color);
|
|
11262
|
-
}
|
|
11263
|
-
|
|
11264
|
-
.pf-c-date-picker__helper-text.pf-m-error {
|
|
11265
|
-
--pf-c-date-picker__helper-text--Color: var(--pf-c-date-picker__helper-text--m-error--Color);
|
|
11266
|
-
}
|
|
11267
|
-
|
|
11268
|
-
.pf-c-date-picker__input .pf-c-form-control {
|
|
11269
|
-
width: var(--pf-c-date-picker__input--c-form-control--Width);
|
|
11270
|
-
}
|
|
11271
|
-
|
|
11272
|
-
.pf-c-date-picker__calendar {
|
|
11273
|
-
position: absolute;
|
|
11274
|
-
top: var(--pf-c-date-picker__calendar--Top);
|
|
11275
|
-
right: var(--pf-c-date-picker__calendar--Right);
|
|
11276
|
-
left: var(--pf-c-date-picker__calendar--Left);
|
|
11277
|
-
z-index: var(--pf-c-date-picker__calendar--ZIndex);
|
|
11278
|
-
background-color: var(--pf-c-date-picker__calendar--BackgroundColor);
|
|
11279
|
-
box-shadow: var(--pf-c-date-picker__calendar--BoxShadow);
|
|
11280
|
-
}
|
|
11281
|
-
|
|
11282
|
-
.pf-c-date-picker__calendar.pf-m-align-right {
|
|
11283
|
-
--pf-c-date-picker__calendar--Right: var(--pf-c-date-picker__calendar--m-align-right--Right);
|
|
11284
|
-
--pf-c-date-picker__calendar--Left: var(--pf-c-date-picker__calendar--m-align-right--Left);
|
|
11285
|
-
}
|
|
11286
|
-
|
|
11287
|
-
.pf-c-date-picker.pf-m-top .pf-c-date-picker__calendar {
|
|
11288
|
-
--pf-c-date-picker__calendar--Top: var(--pf-c-date-picker--m-top__calendar--Top);
|
|
11289
|
-
transform: translateY(var(--pf-c-date-picker--m-top__calendar--TranslateY));
|
|
11290
|
-
}
|
|
11291
|
-
|
|
11292
11292
|
.pf-c-drawer {
|
|
11293
11293
|
--pf-c-drawer__section--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
11294
11294
|
--pf-c-drawer__section--m-light-200--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
@@ -14231,6 +14231,92 @@ button.pf-c-label__content:focus {
|
|
|
14231
14231
|
display: none;
|
|
14232
14232
|
}
|
|
14233
14233
|
|
|
14234
|
+
.pf-c-list {
|
|
14235
|
+
--pf-c-list--PaddingLeft: var(--pf-global--spacer--lg);
|
|
14236
|
+
--pf-c-list--nested--MarginTop: var(--pf-global--spacer--sm);
|
|
14237
|
+
--pf-c-list--nested--MarginLeft: var(--pf-global--spacer--sm);
|
|
14238
|
+
--pf-c-list--ul--ListStyle: var(--pf-global--ListStyle);
|
|
14239
|
+
--pf-c-list--li--MarginTop: var(--pf-global--spacer--sm);
|
|
14240
|
+
--pf-c-list--m-inline--li--MarginRight: var(--pf-global--spacer--lg);
|
|
14241
|
+
--pf-c-list--m-bordered--li--PaddingBottom: var(--pf-global--spacer--sm);
|
|
14242
|
+
--pf-c-list--m-bordered--li--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
14243
|
+
--pf-c-list--m-bordered--li--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
|
|
14244
|
+
--pf-c-list__item-icon--MinWidth: var(--pf-global--icon--FontSize--sm);
|
|
14245
|
+
--pf-c-list__item-icon--MarginTop: 0.375rem;
|
|
14246
|
+
--pf-c-list__item-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
14247
|
+
--pf-c-list__item-icon--Color: var(--pf-global--icon--Color--light);
|
|
14248
|
+
--pf-c-list__item-icon--FontSize: var(--pf-global--icon--FontSize--sm);
|
|
14249
|
+
--pf-c-list--m-icon-lg__item-icon--MinWidth: var(--pf-global--icon--FontSize--lg);
|
|
14250
|
+
--pf-c-list--m-icon-lg__item-icon--MarginRight: var(--pf-global--spacer--md);
|
|
14251
|
+
--pf-c-list--m-icon-lg__item-icon--FontSize: var(--pf-global--icon--FontSize--lg);
|
|
14252
|
+
padding-left: var(--pf-c-list--PaddingLeft);
|
|
14253
|
+
}
|
|
14254
|
+
|
|
14255
|
+
.pf-c-list ol,
|
|
14256
|
+
.pf-c-list ul {
|
|
14257
|
+
margin-top: var(--pf-c-list--nested--MarginTop);
|
|
14258
|
+
margin-left: var(--pf-c-list--nested--MarginLeft);
|
|
14259
|
+
}
|
|
14260
|
+
|
|
14261
|
+
.pf-c-list li + li {
|
|
14262
|
+
margin-top: var(--pf-c-list--li--MarginTop);
|
|
14263
|
+
}
|
|
14264
|
+
|
|
14265
|
+
ul.pf-c-list {
|
|
14266
|
+
list-style: var(--pf-c-list--ul--ListStyle);
|
|
14267
|
+
}
|
|
14268
|
+
|
|
14269
|
+
.pf-c-list .pf-c-list__item {
|
|
14270
|
+
display: flex;
|
|
14271
|
+
}
|
|
14272
|
+
|
|
14273
|
+
.pf-c-list .pf-c-list__item-icon {
|
|
14274
|
+
flex-shrink: 0;
|
|
14275
|
+
min-width: var(--pf-c-list__item-icon--MinWidth);
|
|
14276
|
+
margin-top: var(--pf-c-list__item-icon--MarginTop);
|
|
14277
|
+
margin-right: var(--pf-c-list__item-icon--MarginRight);
|
|
14278
|
+
font-size: var(--pf-c-list__item-icon--FontSize);
|
|
14279
|
+
line-height: 1;
|
|
14280
|
+
color: var(--pf-c-list__item-icon--Color);
|
|
14281
|
+
}
|
|
14282
|
+
|
|
14283
|
+
.pf-c-list.pf-m-icon-lg {
|
|
14284
|
+
--pf-c-list__item-icon--MinWidth: var(--pf-c-list--m-icon-lg__item-icon--MinWidth);
|
|
14285
|
+
--pf-c-list__item-icon--MarginTop: 0;
|
|
14286
|
+
--pf-c-list__item-icon--MarginRight: var(--pf-c-list--m-icon-lg__item-icon--MarginRight);
|
|
14287
|
+
--pf-c-list__item-icon--FontSize: var(--pf-c-list--m-icon-lg__item-icon--FontSize);
|
|
14288
|
+
}
|
|
14289
|
+
|
|
14290
|
+
.pf-c-list.pf-m-plain {
|
|
14291
|
+
--pf-c-list--PaddingLeft: 0;
|
|
14292
|
+
list-style: none;
|
|
14293
|
+
}
|
|
14294
|
+
|
|
14295
|
+
.pf-c-list.pf-m-inline {
|
|
14296
|
+
--pf-c-list--PaddingLeft: 0;
|
|
14297
|
+
display: flex;
|
|
14298
|
+
flex-wrap: wrap;
|
|
14299
|
+
list-style: none;
|
|
14300
|
+
}
|
|
14301
|
+
|
|
14302
|
+
.pf-c-list.pf-m-inline li {
|
|
14303
|
+
--pf-c-list--li--MarginTop: 0;
|
|
14304
|
+
}
|
|
14305
|
+
|
|
14306
|
+
.pf-c-list.pf-m-inline li:not(:last-child) {
|
|
14307
|
+
margin-right: var(--pf-c-list--m-inline--li--MarginRight);
|
|
14308
|
+
}
|
|
14309
|
+
|
|
14310
|
+
.pf-c-list.pf-m-bordered > * {
|
|
14311
|
+
padding-bottom: var(--pf-c-list--m-bordered--li--PaddingBottom);
|
|
14312
|
+
border-bottom: var(--pf-c-list--m-bordered--li--BorderBottomWidth) solid var(--pf-c-list--m-bordered--li--BorderBottomColor);
|
|
14313
|
+
}
|
|
14314
|
+
|
|
14315
|
+
.pf-c-list.pf-m-bordered > :last-child {
|
|
14316
|
+
--pf-c-list--m-bordered--li--PaddingBottom: 0;
|
|
14317
|
+
--pf-c-list--m-bordered--li--BorderBottomWidth: 0;
|
|
14318
|
+
}
|
|
14319
|
+
|
|
14234
14320
|
.pf-c-login__footer, .pf-c-login__header {
|
|
14235
14321
|
--pf-global--Color--100: var(--pf-global--Color--light-100);
|
|
14236
14322
|
--pf-global--Color--200: var(--pf-global--Color--light-200);
|
|
@@ -14533,92 +14619,6 @@ button.pf-c-label__content:focus {
|
|
|
14533
14619
|
padding-top: var(--pf-c-login__footer--c-list--PaddingTop);
|
|
14534
14620
|
}
|
|
14535
14621
|
|
|
14536
|
-
.pf-c-list {
|
|
14537
|
-
--pf-c-list--PaddingLeft: var(--pf-global--spacer--lg);
|
|
14538
|
-
--pf-c-list--nested--MarginTop: var(--pf-global--spacer--sm);
|
|
14539
|
-
--pf-c-list--nested--MarginLeft: var(--pf-global--spacer--sm);
|
|
14540
|
-
--pf-c-list--ul--ListStyle: var(--pf-global--ListStyle);
|
|
14541
|
-
--pf-c-list--li--MarginTop: var(--pf-global--spacer--sm);
|
|
14542
|
-
--pf-c-list--m-inline--li--MarginRight: var(--pf-global--spacer--lg);
|
|
14543
|
-
--pf-c-list--m-bordered--li--PaddingBottom: var(--pf-global--spacer--sm);
|
|
14544
|
-
--pf-c-list--m-bordered--li--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
14545
|
-
--pf-c-list--m-bordered--li--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
|
|
14546
|
-
--pf-c-list__item-icon--MinWidth: var(--pf-global--icon--FontSize--sm);
|
|
14547
|
-
--pf-c-list__item-icon--MarginTop: 0.375rem;
|
|
14548
|
-
--pf-c-list__item-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
14549
|
-
--pf-c-list__item-icon--Color: var(--pf-global--icon--Color--light);
|
|
14550
|
-
--pf-c-list__item-icon--FontSize: var(--pf-global--icon--FontSize--sm);
|
|
14551
|
-
--pf-c-list--m-icon-lg__item-icon--MinWidth: var(--pf-global--icon--FontSize--lg);
|
|
14552
|
-
--pf-c-list--m-icon-lg__item-icon--MarginRight: var(--pf-global--spacer--md);
|
|
14553
|
-
--pf-c-list--m-icon-lg__item-icon--FontSize: var(--pf-global--icon--FontSize--lg);
|
|
14554
|
-
padding-left: var(--pf-c-list--PaddingLeft);
|
|
14555
|
-
}
|
|
14556
|
-
|
|
14557
|
-
.pf-c-list ol,
|
|
14558
|
-
.pf-c-list ul {
|
|
14559
|
-
margin-top: var(--pf-c-list--nested--MarginTop);
|
|
14560
|
-
margin-left: var(--pf-c-list--nested--MarginLeft);
|
|
14561
|
-
}
|
|
14562
|
-
|
|
14563
|
-
.pf-c-list li + li {
|
|
14564
|
-
margin-top: var(--pf-c-list--li--MarginTop);
|
|
14565
|
-
}
|
|
14566
|
-
|
|
14567
|
-
ul.pf-c-list {
|
|
14568
|
-
list-style: var(--pf-c-list--ul--ListStyle);
|
|
14569
|
-
}
|
|
14570
|
-
|
|
14571
|
-
.pf-c-list .pf-c-list__item {
|
|
14572
|
-
display: flex;
|
|
14573
|
-
}
|
|
14574
|
-
|
|
14575
|
-
.pf-c-list .pf-c-list__item-icon {
|
|
14576
|
-
flex-shrink: 0;
|
|
14577
|
-
min-width: var(--pf-c-list__item-icon--MinWidth);
|
|
14578
|
-
margin-top: var(--pf-c-list__item-icon--MarginTop);
|
|
14579
|
-
margin-right: var(--pf-c-list__item-icon--MarginRight);
|
|
14580
|
-
font-size: var(--pf-c-list__item-icon--FontSize);
|
|
14581
|
-
line-height: 1;
|
|
14582
|
-
color: var(--pf-c-list__item-icon--Color);
|
|
14583
|
-
}
|
|
14584
|
-
|
|
14585
|
-
.pf-c-list.pf-m-icon-lg {
|
|
14586
|
-
--pf-c-list__item-icon--MinWidth: var(--pf-c-list--m-icon-lg__item-icon--MinWidth);
|
|
14587
|
-
--pf-c-list__item-icon--MarginTop: 0;
|
|
14588
|
-
--pf-c-list__item-icon--MarginRight: var(--pf-c-list--m-icon-lg__item-icon--MarginRight);
|
|
14589
|
-
--pf-c-list__item-icon--FontSize: var(--pf-c-list--m-icon-lg__item-icon--FontSize);
|
|
14590
|
-
}
|
|
14591
|
-
|
|
14592
|
-
.pf-c-list.pf-m-plain {
|
|
14593
|
-
--pf-c-list--PaddingLeft: 0;
|
|
14594
|
-
list-style: none;
|
|
14595
|
-
}
|
|
14596
|
-
|
|
14597
|
-
.pf-c-list.pf-m-inline {
|
|
14598
|
-
--pf-c-list--PaddingLeft: 0;
|
|
14599
|
-
display: flex;
|
|
14600
|
-
flex-wrap: wrap;
|
|
14601
|
-
list-style: none;
|
|
14602
|
-
}
|
|
14603
|
-
|
|
14604
|
-
.pf-c-list.pf-m-inline li {
|
|
14605
|
-
--pf-c-list--li--MarginTop: 0;
|
|
14606
|
-
}
|
|
14607
|
-
|
|
14608
|
-
.pf-c-list.pf-m-inline li:not(:last-child) {
|
|
14609
|
-
margin-right: var(--pf-c-list--m-inline--li--MarginRight);
|
|
14610
|
-
}
|
|
14611
|
-
|
|
14612
|
-
.pf-c-list.pf-m-bordered > * {
|
|
14613
|
-
padding-bottom: var(--pf-c-list--m-bordered--li--PaddingBottom);
|
|
14614
|
-
border-bottom: var(--pf-c-list--m-bordered--li--BorderBottomWidth) solid var(--pf-c-list--m-bordered--li--BorderBottomColor);
|
|
14615
|
-
}
|
|
14616
|
-
|
|
14617
|
-
.pf-c-list.pf-m-bordered > :last-child {
|
|
14618
|
-
--pf-c-list--m-bordered--li--PaddingBottom: 0;
|
|
14619
|
-
--pf-c-list--m-bordered--li--BorderBottomWidth: 0;
|
|
14620
|
-
}
|
|
14621
|
-
|
|
14622
14622
|
.pf-c-masthead.pf-m-light-200, .pf-c-masthead.pf-m-light {
|
|
14623
14623
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
14624
14624
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
package/dist/umd/react-table.js
CHANGED
|
@@ -10145,16 +10145,17 @@
|
|
|
10145
10145
|
const { isOpen } = this.state;
|
|
10146
10146
|
const { items, children, dropdownPosition, dropdownDirection, isDisabled, rowData, actionsToggle } = this.props;
|
|
10147
10147
|
const actionsToggleClone = actionsToggle ? (actionsToggle({ onToggle: this.onToggle, isOpen, isDisabled })) : (React__namespace.createElement(KebabToggle, { isDisabled: isDisabled, onToggle: this.onToggle }));
|
|
10148
|
-
const outsideDropdownItems = items.filter(a => a.isOutsideDropdown);
|
|
10149
|
-
const dropdownItems = items.filter(a => !a.isOutsideDropdown);
|
|
10150
10148
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
10151
|
-
|
|
10149
|
+
items
|
|
10150
|
+
.filter(item => item.isOutsideDropdown)
|
|
10152
10151
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10153
10152
|
.map((_a, key) => {
|
|
10154
10153
|
var { title, itemKey, onClick, isOutsideDropdown } = _a, props = __rest$2(_a, ["title", "itemKey", "onClick", "isOutsideDropdown"]);
|
|
10155
10154
|
return typeof title === 'string' ? (React__namespace.createElement(Button, Object.assign({ onClick: event => this.onClick(event, onClick) }, props, { isDisabled: isDisabled, key: itemKey || `outside_dropdown_${key}`, "data-key": itemKey || `outside_dropdown_${key}` }), title)) : (React__namespace.cloneElement(title, Object.assign({ onClick, isDisabled }, props)));
|
|
10156
10155
|
}),
|
|
10157
|
-
React__namespace.createElement(Dropdown, Object.assign({ toggle: actionsToggleClone, position: dropdownPosition, direction: dropdownDirection, isOpen: isOpen, dropdownItems:
|
|
10156
|
+
React__namespace.createElement(Dropdown, Object.assign({ toggle: actionsToggleClone, position: dropdownPosition, direction: dropdownDirection, isOpen: isOpen, dropdownItems: items
|
|
10157
|
+
.filter(item => !item.isOutsideDropdown)
|
|
10158
|
+
.map((_a, key) => {
|
|
10158
10159
|
var { title, itemKey, onClick, isSeparator } = _a, props = __rest$2(_a, ["title", "itemKey", "onClick", "isSeparator"]);
|
|
10159
10160
|
return isSeparator ? (React__namespace.createElement(DropdownSeparator, Object.assign({}, props, { key: itemKey || key, "data-key": itemKey || key }))) : (React__namespace.createElement(DropdownItem, Object.assign({ component: "button", onClick: event => {
|
|
10160
10161
|
this.onClick(event, onClick);
|