@patternfly/react-table 4.61.19 → 4.63.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 +41 -0
- package/dist/esm/components/Table/Body.d.ts +4 -0
- package/dist/esm/components/Table/Body.d.ts.map +1 -1
- package/dist/esm/components/Table/Body.js.map +1 -1
- package/dist/esm/components/Table/Table.d.ts +4 -0
- package/dist/esm/components/Table/Table.d.ts.map +1 -1
- package/dist/esm/components/Table/Table.js.map +1 -1
- package/dist/esm/components/Table/base/provider.d.ts +4 -4
- package/dist/esm/components/Table/base/types.d.ts +4 -4
- package/dist/esm/components/TableComposable/TableComposable.d.ts +6 -2
- package/dist/esm/components/TableComposable/TableComposable.d.ts.map +1 -1
- package/dist/esm/components/TableComposable/TableComposable.js +4 -12
- package/dist/esm/components/TableComposable/TableComposable.js.map +1 -1
- package/dist/esm/components/TableComposable/Tbody.d.ts +5 -1
- package/dist/esm/components/TableComposable/Tbody.d.ts.map +1 -1
- package/dist/esm/components/TableComposable/Tbody.js +2 -2
- package/dist/esm/components/TableComposable/Tbody.js.map +1 -1
- package/dist/esm/components/TableComposable/Tr.d.ts +3 -1
- package/dist/esm/components/TableComposable/Tr.d.ts.map +1 -1
- package/dist/esm/components/TableComposable/Tr.js +2 -2
- package/dist/esm/components/TableComposable/Tr.js.map +1 -1
- package/dist/js/components/Table/Body.d.ts +4 -0
- package/dist/js/components/Table/Body.d.ts.map +1 -1
- package/dist/js/components/Table/Body.js.map +1 -1
- package/dist/js/components/Table/Table.d.ts +4 -0
- package/dist/js/components/Table/Table.d.ts.map +1 -1
- package/dist/js/components/Table/Table.js.map +1 -1
- package/dist/js/components/Table/base/provider.d.ts +4 -4
- package/dist/js/components/Table/base/types.d.ts +4 -4
- package/dist/js/components/TableComposable/TableComposable.d.ts +6 -2
- package/dist/js/components/TableComposable/TableComposable.d.ts.map +1 -1
- package/dist/js/components/TableComposable/TableComposable.js +4 -12
- package/dist/js/components/TableComposable/TableComposable.js.map +1 -1
- package/dist/js/components/TableComposable/Tbody.d.ts +5 -1
- package/dist/js/components/TableComposable/Tbody.d.ts.map +1 -1
- package/dist/js/components/TableComposable/Tbody.js +2 -2
- package/dist/js/components/TableComposable/Tbody.js.map +1 -1
- package/dist/js/components/TableComposable/Tr.d.ts +3 -1
- package/dist/js/components/TableComposable/Tr.d.ts.map +1 -1
- package/dist/js/components/TableComposable/Tr.js +2 -2
- package/dist/js/components/TableComposable/Tr.js.map +1 -1
- package/dist/umd/react-table.css +76 -8
- package/dist/umd/react-table.js +8 -16
- package/dist/umd/react-table.min.css +76 -8
- package/dist/umd/react-table.min.js +6 -6
- package/package.json +6 -6
- package/src/components/Table/Body.tsx +4 -0
- package/src/components/Table/Table.tsx +4 -0
- package/src/components/Table/examples/LegacyTableStriped.tsx +52 -0
- package/src/components/Table/examples/LegacyTableStripedCustomTr.tsx +52 -0
- package/src/components/Table/examples/LegacyTableStripedExpandable.tsx +174 -0
- package/src/components/Table/examples/Table.md +21 -0
- package/src/components/TableComposable/TableComposable.tsx +10 -9
- package/src/components/TableComposable/Tbody.tsx +17 -1
- package/src/components/TableComposable/Tr.tsx +4 -0
- package/src/components/TableComposable/examples/ComposableTable.md +28 -0
- package/src/components/TableComposable/examples/ComposableTableNestedExpandable.tsx +1 -5
- package/src/components/TableComposable/examples/ComposableTableNestedHeaders.tsx +1 -5
- package/src/components/TableComposable/examples/ComposableTableStriped.tsx +54 -0
- package/src/components/TableComposable/examples/ComposableTableStripedExpandable.tsx +200 -0
- package/src/components/TableComposable/examples/ComposableTableStripedMultipleTbody.tsx +120 -0
- package/src/components/TableComposable/examples/ComposableTableStripedTr.tsx +54 -0
- package/src/demos/Table.md +2 -2
package/dist/umd/react-table.css
CHANGED
|
@@ -1297,6 +1297,8 @@
|
|
|
1297
1297
|
--pf-c-table__tree-view-main--nested-indent--base: calc(var(--pf-c-table__tree-view-main--indent--base) - var(--pf-global--spacer--md));
|
|
1298
1298
|
--pf-c-table__tree-view-main--PaddingLeft: var(--pf-c-table__tree-view-main--indent--base);
|
|
1299
1299
|
--pf-c-table__tree-view-main--MarginLeft: calc(var(--pf-c-table--cell--PaddingLeft) * -1);
|
|
1300
|
+
--pf-c-table__tree-view-main--c-table__check--PaddingRight: var(--pf-global--spacer--sm);
|
|
1301
|
+
--pf-c-table__tree-view-main--c-table__check--PaddingLeft: var(--pf-global--spacer--sm);
|
|
1300
1302
|
--pf-c-table__tree-view-main--c-table__check--MarginRight: var(--pf-global--spacer--sm);
|
|
1301
1303
|
--pf-c-table__tree-view-icon--MinWidth: var(--pf-global--FontSize--md);
|
|
1302
1304
|
--pf-c-table__tree-view-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
@@ -1371,6 +1373,12 @@
|
|
|
1371
1373
|
margin-right: var(--pf-c-table__tree-view-main--c-table__check--MarginRight);
|
|
1372
1374
|
}
|
|
1373
1375
|
|
|
1376
|
+
.pf-c-table__tree-view-main > .pf-c-table__check label {
|
|
1377
|
+
padding-right: var(--pf-c-table__tree-view-main--c-table__check--PaddingRight);
|
|
1378
|
+
padding-left: var(--pf-c-table__tree-view-main--c-table__check--PaddingLeft);
|
|
1379
|
+
margin: 0 calc(var(--pf-c-table__tree-view-main--c-table__check--MarginRight) * -1) 0 0;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1374
1382
|
.pf-c-table__tree-view-text {
|
|
1375
1383
|
display: flex;
|
|
1376
1384
|
}
|
|
@@ -19055,6 +19063,15 @@ ul.pf-c-list {
|
|
|
19055
19063
|
flex: 1 0 auto;
|
|
19056
19064
|
}
|
|
19057
19065
|
|
|
19066
|
+
.pf-c-pagination__nav-page-select .pf-c-form-control {
|
|
19067
|
+
appearance: textfield;
|
|
19068
|
+
}
|
|
19069
|
+
|
|
19070
|
+
.pf-c-pagination__nav-page-select .pf-c-form-control::-webkit-inner-spin-button, .pf-c-pagination__nav-page-select .pf-c-form-control::-webkit-outer-spin-button {
|
|
19071
|
+
appearance: none;
|
|
19072
|
+
margin: 0;
|
|
19073
|
+
}
|
|
19074
|
+
|
|
19058
19075
|
.pf-c-pagination {
|
|
19059
19076
|
--pf-c-pagination--child--MarginRight: var(--pf-global--spacer--lg);
|
|
19060
19077
|
--pf-c-pagination--m-bottom--child--MarginRight: 0;
|
|
@@ -19083,7 +19100,7 @@ ul.pf-c-list {
|
|
|
19083
19100
|
--pf-c-pagination__nav-page-select--PaddingLeft: var(--pf-global--spacer--md);
|
|
19084
19101
|
--pf-c-pagination__nav-page-select--PaddingRight: var(--pf-global--spacer--md);
|
|
19085
19102
|
--pf-c-pagination__nav-page-select--child--MarginRight: var(--pf-global--spacer--xs);
|
|
19086
|
-
--pf-c-pagination__nav-page-select--c-form-control--width-base:
|
|
19103
|
+
--pf-c-pagination__nav-page-select--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2);
|
|
19087
19104
|
--pf-c-pagination__nav-page-select--c-form-control--width-chars: 2;
|
|
19088
19105
|
--pf-c-pagination__nav-page-select--c-form-control--Width: calc(var(--pf-c-pagination__nav-page-select--c-form-control--width-base) + (var(--pf-c-pagination__nav-page-select--c-form-control--width-chars) * 1ch));
|
|
19089
19106
|
--pf-c-pagination__total-items--Display: block;
|
|
@@ -19964,6 +19981,10 @@ ul.pf-c-list {
|
|
|
19964
19981
|
--pf-c-progress-stepper__step-icon--Color: var(--pf-global--info-color--100);
|
|
19965
19982
|
}
|
|
19966
19983
|
|
|
19984
|
+
.pf-c-progress-stepper__step:last-child {
|
|
19985
|
+
--pf-c-progress-stepper__step-main--MarginBottom: 0;
|
|
19986
|
+
}
|
|
19987
|
+
|
|
19967
19988
|
.pf-c-progress-stepper__step-connector {
|
|
19968
19989
|
position: relative;
|
|
19969
19990
|
display: flex;
|
|
@@ -24440,10 +24461,19 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
24440
24461
|
--pf-c-toolbar--spacer: 0;
|
|
24441
24462
|
}
|
|
24442
24463
|
|
|
24464
|
+
.pf-c-number-input .pf-c-form-control {
|
|
24465
|
+
appearance: textfield;
|
|
24466
|
+
}
|
|
24467
|
+
|
|
24468
|
+
.pf-c-number-input .pf-c-form-control::-webkit-inner-spin-button, .pf-c-number-input .pf-c-form-control::-webkit-outer-spin-button {
|
|
24469
|
+
appearance: none;
|
|
24470
|
+
margin: 0;
|
|
24471
|
+
}
|
|
24472
|
+
|
|
24443
24473
|
.pf-c-number-input {
|
|
24444
24474
|
--pf-c-number-input__unit--c-input-group--MarginLeft: var(--pf-global--spacer--sm);
|
|
24445
24475
|
--pf-c-number-input__icon--FontSize: var(--pf-global--FontSize--xs);
|
|
24446
|
-
--pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2);
|
|
24476
|
+
--pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2);
|
|
24447
24477
|
--pf-c-number-input--c-form-control--width-chars: 4;
|
|
24448
24478
|
--pf-c-number-input--c-form-control--Width: calc(var(--pf-c-number-input--c-form-control--width-base) + var(--pf-c-number-input--c-form-control--width-chars) * 1ch);
|
|
24449
24479
|
display: inline-flex;
|
|
@@ -24454,12 +24484,6 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
24454
24484
|
display: inline-flex;
|
|
24455
24485
|
width: var(--pf-c-number-input--c-form-control--Width);
|
|
24456
24486
|
text-align: right;
|
|
24457
|
-
-moz-appearance: textfield;
|
|
24458
|
-
}
|
|
24459
|
-
|
|
24460
|
-
.pf-c-number-input .pf-c-form-control::-webkit-outer-spin-button, .pf-c-number-input .pf-c-form-control::-webkit-inner-spin-button {
|
|
24461
|
-
-webkit-appearance: none;
|
|
24462
|
-
margin: 0;
|
|
24463
24487
|
}
|
|
24464
24488
|
|
|
24465
24489
|
.pf-c-input-group + .pf-c-number-input__unit,
|
|
@@ -25562,6 +25586,7 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
25562
25586
|
--pf-c-text-input-group__text-input--PaddingLeft: var(--pf-global--spacer--sm);
|
|
25563
25587
|
--pf-c-text-input-group__text-input--MinWidth: 12ch;
|
|
25564
25588
|
--pf-c-text-input-group__text-input--m-hint--Color: var(--pf-global--Color--dark-200);
|
|
25589
|
+
--pf-c-text-input-group--placeholder--Color: var(--pf-global--Color--dark-200);
|
|
25565
25590
|
--pf-c-text-input-group__icon--Left: var(--pf-global--spacer--sm);
|
|
25566
25591
|
--pf-c-text-input-group__icon--Color: var(--pf-global--Color--200);
|
|
25567
25592
|
--pf-c-text-input-group__text--hover__icon--Color: var(--pf-global--Color--100);
|
|
@@ -25683,6 +25708,10 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
25683
25708
|
color: var(--pf-c-text-input-group__text-input--m-hint--Color);
|
|
25684
25709
|
}
|
|
25685
25710
|
|
|
25711
|
+
.pf-c-text-input-group__text-input::placeholder {
|
|
25712
|
+
color: var(--pf-c-text-input-group--placeholder--Color);
|
|
25713
|
+
}
|
|
25714
|
+
|
|
25686
25715
|
.pf-c-text-input-group__utilities {
|
|
25687
25716
|
display: flex;
|
|
25688
25717
|
align-items: center;
|
|
@@ -29227,6 +29256,20 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
29227
29256
|
--pf-c-alert-group--m-toast--Right: var(--pf-global--spacer--xl);
|
|
29228
29257
|
--pf-c-alert-group--m-toast--MaxWidth: 37.5rem;
|
|
29229
29258
|
--pf-c-alert-group--m-toast--ZIndex: var(--pf-global--ZIndex--2xl);
|
|
29259
|
+
--pf-c-alert-group__overflow-button--BorderWidth: 0;
|
|
29260
|
+
--pf-c-alert-group__overflow-button--PaddingTop: var(--pf-global--spacer--lg);
|
|
29261
|
+
--pf-c-alert-group__overflow-button--PaddingRight: var(--pf-global--spacer--md);
|
|
29262
|
+
--pf-c-alert-group__overflow-button--PaddingBottom: var(--pf-global--spacer--lg);
|
|
29263
|
+
--pf-c-alert-group__overflow-button--PaddingLeft: var(--pf-global--spacer--md);
|
|
29264
|
+
--pf-c-alert-group__overflow-button--Color: var(--pf-global--link--Color);
|
|
29265
|
+
--pf-c-alert-group__overflow-button--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
29266
|
+
--pf-c-alert-group__overflow-button--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
29267
|
+
--pf-c-alert-group__overflow-button--hover--Color: var(--pf-global--link--Color--hover);
|
|
29268
|
+
--pf-c-alert-group__overflow-button--hover--BoxShadow: var(--pf-global--BoxShadow--lg), var(--pf-global--BoxShadow--lg-bottom);
|
|
29269
|
+
--pf-c-alert-group__overflow-button--focus--Color: var(--pf-global--link--Color--hover);
|
|
29270
|
+
--pf-c-alert-group__overflow-button--focus--BoxShadow: var(--pf-global--BoxShadow--lg), var(--pf-global--BoxShadow--lg-bottom);
|
|
29271
|
+
--pf-c-alert-group__overflow-button--active--Color: var(--pf-global--link--Color--hover);
|
|
29272
|
+
--pf-c-alert-group__overflow-button--active--BoxShadow: var(--pf-global--BoxShadow--lg), var(--pf-global--BoxShadow--lg-bottom);
|
|
29230
29273
|
}
|
|
29231
29274
|
|
|
29232
29275
|
.pf-c-alert-group > * + * {
|
|
@@ -29242,6 +29285,31 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
29242
29285
|
max-width: var(--pf-c-alert-group--m-toast--MaxWidth);
|
|
29243
29286
|
}
|
|
29244
29287
|
|
|
29288
|
+
.pf-c-alert-group__overflow-button {
|
|
29289
|
+
position: relative;
|
|
29290
|
+
width: 100%;
|
|
29291
|
+
padding: var(--pf-c-alert-group__overflow-button--PaddingTop) var(--pf-c-alert-group__overflow-button--PaddingRight) var(--pf-c-alert-group__overflow-button--PaddingBottom) var(--pf-c-alert-group__overflow-button--PaddingLeft);
|
|
29292
|
+
color: var(--pf-c-alert-group__overflow-button--Color);
|
|
29293
|
+
background-color: var(--pf-c-alert-group__overflow-button--BackgroundColor);
|
|
29294
|
+
border-width: var(--pf-c-alert-group__overflow-button--BorderWidth);
|
|
29295
|
+
box-shadow: var(--pf-c-alert-group__overflow-button--BoxShadow);
|
|
29296
|
+
}
|
|
29297
|
+
|
|
29298
|
+
.pf-c-alert-group__overflow-button:hover {
|
|
29299
|
+
--pf-c-alert-group__overflow-button--Color: var(--pf-c-alert-group__overflow-button--hover--Color);
|
|
29300
|
+
--pf-c-alert-group__overflow-button--BoxShadow: var(--pf-c-alert-group__overflow-button--hover--BoxShadow);
|
|
29301
|
+
}
|
|
29302
|
+
|
|
29303
|
+
.pf-c-alert-group__overflow-button:focus {
|
|
29304
|
+
--pf-c-alert-group__overflow-button--Color: var(--pf-c-alert-group__overflow-button--focus--Color);
|
|
29305
|
+
--pf-c-alert-group__overflow-button--BoxShadow: var(--pf-c-alert-group__overflow-button--focus--BoxShadow);
|
|
29306
|
+
}
|
|
29307
|
+
|
|
29308
|
+
.pf-c-alert-group__overflow-button:active {
|
|
29309
|
+
--pf-c-alert-group__overflow-button--Color: var(--pf-c-alert-group__overflow-button--active--Color);
|
|
29310
|
+
--pf-c-alert-group__overflow-button--BoxShadow: var(--pf-c-alert-group__overflow-button--active--BoxShadow);
|
|
29311
|
+
}
|
|
29312
|
+
|
|
29245
29313
|
.pf-c-about-modal-box {
|
|
29246
29314
|
--pf-global--Color--100: var(--pf-global--Color--light-100);
|
|
29247
29315
|
--pf-global--Color--200: var(--pf-global--Color--light-200);
|
package/dist/umd/react-table.js
CHANGED
|
@@ -7107,7 +7107,9 @@
|
|
|
7107
7107
|
|
|
7108
7108
|
const TableComposableBase = (_a) => {
|
|
7109
7109
|
var _b, _c;
|
|
7110
|
-
var { children, className, variant, borders = true, isStickyHeader = false, gridBreakPoint = exports.TableGridBreakpoint.gridMd, 'aria-label': ariaLabel, role = 'grid', innerRef, ouiaId, ouiaSafe = true, isTreeTable = false, isNested = false,
|
|
7110
|
+
var { children, className, variant, borders = true, isStickyHeader = false, gridBreakPoint = exports.TableGridBreakpoint.gridMd, 'aria-label': ariaLabel, role = 'grid', innerRef, ouiaId, ouiaSafe = true, isTreeTable = false, isNested = false, isStriped = false, isExpandable = false,
|
|
7111
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
7112
|
+
nestedHeaderColumnSpans } = _a, props = __rest$2(_a, ["children", "className", "variant", "borders", "isStickyHeader", "gridBreakPoint", 'aria-label', "role", "innerRef", "ouiaId", "ouiaSafe", "isTreeTable", "isNested", "isStriped", "isExpandable", "nestedHeaderColumnSpans"]);
|
|
7111
7113
|
const tableRef = innerRef || React__namespace.useRef(null);
|
|
7112
7114
|
React__namespace.useEffect(() => {
|
|
7113
7115
|
document.addEventListener('keydown', handleKeys);
|
|
@@ -7140,17 +7142,7 @@
|
|
|
7140
7142
|
const getFocusableElement = (element) => element.querySelectorAll('button:not(:disabled), input:not(:disabled), a:not(:disabled)')[0];
|
|
7141
7143
|
handleArrows(event, rows, (element) => element === activeElement.closest('tr'), getFocusableElement, ['button', 'input', 'a'], undefined, false, true, false);
|
|
7142
7144
|
};
|
|
7143
|
-
return (React__namespace.createElement("table", Object.assign({ "aria-label": ariaLabel, role: role, className: css(className, _default$3.table, isTreeTable ? treeGrid : grid, _default$3.modifiers[variant], !borders && _default$3.modifiers.noBorderRows, isStickyHeader && _default$3.modifiers.stickyHeader, isTreeTable && _default$1.modifiers.treeView, isNested && 'pf-m-nested'), ref: tableRef }, (isTreeTable && { role: 'treegrid' }), ouiaProps, props),
|
|
7144
|
-
nestedHeaderColumnSpans &&
|
|
7145
|
-
nestedHeaderColumnSpans.map((span, index) => {
|
|
7146
|
-
if (span === 1) {
|
|
7147
|
-
return React__namespace.createElement("col", { key: index });
|
|
7148
|
-
}
|
|
7149
|
-
else {
|
|
7150
|
-
return React__namespace.createElement("colgroup", { key: index, span: span });
|
|
7151
|
-
}
|
|
7152
|
-
}),
|
|
7153
|
-
children));
|
|
7145
|
+
return (React__namespace.createElement("table", Object.assign({ "aria-label": ariaLabel, role: role, className: css(className, _default$3.table, isTreeTable ? treeGrid : grid, _default$3.modifiers[variant], !borders && _default$3.modifiers.noBorderRows, isStickyHeader && _default$3.modifiers.stickyHeader, isTreeTable && _default$1.modifiers.treeView, isStriped && _default$3.modifiers.striped, isExpandable && _default$3.modifiers.expandable, isNested && 'pf-m-nested'), ref: tableRef }, (isTreeTable && { role: 'treegrid' }), ouiaProps, props), children));
|
|
7154
7146
|
};
|
|
7155
7147
|
const TableComposable = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(TableComposableBase, Object.assign({}, props, { innerRef: ref }))));
|
|
7156
7148
|
TableComposable.displayName = 'TableComposable';
|
|
@@ -7163,14 +7155,14 @@
|
|
|
7163
7155
|
Thead.displayName = 'Thead';
|
|
7164
7156
|
|
|
7165
7157
|
const TbodyBase = (_a) => {
|
|
7166
|
-
var { children, className, isExpanded, innerRef } = _a, props = __rest$2(_a, ["children", "className", "isExpanded", "innerRef"]);
|
|
7167
|
-
return (React__namespace.createElement("tbody", Object.assign({ role: "rowgroup", className: css(className, isExpanded && _default$3.modifiers.expanded), ref: innerRef }, props), children));
|
|
7158
|
+
var { children, className, isExpanded, innerRef, isEvenStriped = false, isOddStriped = false } = _a, props = __rest$2(_a, ["children", "className", "isExpanded", "innerRef", "isEvenStriped", "isOddStriped"]);
|
|
7159
|
+
return (React__namespace.createElement("tbody", Object.assign({ role: "rowgroup", className: css(className, isExpanded && _default$3.modifiers.expanded, isOddStriped && _default$3.modifiers.striped, isEvenStriped && _default$3.modifiers.stripedEven), ref: innerRef }, props), children));
|
|
7168
7160
|
};
|
|
7169
7161
|
const Tbody = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(TbodyBase, Object.assign({}, props, { innerRef: ref }))));
|
|
7170
7162
|
Tbody.displayName = 'Tbody';
|
|
7171
7163
|
|
|
7172
7164
|
const TrBase = (_a) => {
|
|
7173
|
-
var { children, className, isExpanded, isEditable, isHidden = false, isHoverable = false, isRowSelected = false, innerRef, ouiaId, ouiaSafe = true, resetOffset = false, onRowClick } = _a, props = __rest$2(_a, ["children", "className", "isExpanded", "isEditable", "isHidden", "isHoverable", "isRowSelected", "innerRef", "ouiaId", "ouiaSafe", "resetOffset", "onRowClick"]);
|
|
7165
|
+
var { children, className, isExpanded, isEditable, isHidden = false, isHoverable = false, isRowSelected = false, isStriped = false, innerRef, ouiaId, ouiaSafe = true, resetOffset = false, onRowClick } = _a, props = __rest$2(_a, ["children", "className", "isExpanded", "isEditable", "isHidden", "isHoverable", "isRowSelected", "isStriped", "innerRef", "ouiaId", "ouiaSafe", "resetOffset", "onRowClick"]);
|
|
7174
7166
|
const ouiaProps = useOUIAProps('TableRow', ouiaId, ouiaSafe);
|
|
7175
7167
|
let onKeyDown = null;
|
|
7176
7168
|
if (onRowClick) {
|
|
@@ -7181,7 +7173,7 @@
|
|
|
7181
7173
|
}
|
|
7182
7174
|
};
|
|
7183
7175
|
}
|
|
7184
|
-
return (React__namespace.createElement("tr", Object.assign({ className: css(className, isExpanded !== undefined && _default$3.tableExpandableRow, isExpanded && _default$3.modifiers.expanded, isEditable && _default$4.modifiers.inlineEditable, isHoverable && _default$3.modifiers.hoverable, isRowSelected && _default$3.modifiers.selected, resetOffset && _default$3.modifiers.firstCellOffsetReset), hidden: isHidden || (isExpanded !== undefined && !isExpanded) }, (isHoverable && { tabIndex: 0 }), { ref: innerRef }, (onRowClick && { onClick: onRowClick, onKeyDown }), ouiaProps, props), children));
|
|
7176
|
+
return (React__namespace.createElement("tr", Object.assign({ className: css(className, isExpanded !== undefined && _default$3.tableExpandableRow, isExpanded && _default$3.modifiers.expanded, isEditable && _default$4.modifiers.inlineEditable, isHoverable && _default$3.modifiers.hoverable, isRowSelected && _default$3.modifiers.selected, isStriped && _default$3.modifiers.striped, resetOffset && _default$3.modifiers.firstCellOffsetReset), hidden: isHidden || (isExpanded !== undefined && !isExpanded) }, (isHoverable && { tabIndex: 0 }), { ref: innerRef }, (onRowClick && { onClick: onRowClick, onKeyDown }), ouiaProps, props), children));
|
|
7185
7177
|
};
|
|
7186
7178
|
const Tr = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(TrBase, Object.assign({}, props, { innerRef: ref }))));
|
|
7187
7179
|
Tr.displayName = 'Tr';
|
|
@@ -1297,6 +1297,8 @@
|
|
|
1297
1297
|
--pf-c-table__tree-view-main--nested-indent--base: calc(var(--pf-c-table__tree-view-main--indent--base) - var(--pf-global--spacer--md));
|
|
1298
1298
|
--pf-c-table__tree-view-main--PaddingLeft: var(--pf-c-table__tree-view-main--indent--base);
|
|
1299
1299
|
--pf-c-table__tree-view-main--MarginLeft: calc(var(--pf-c-table--cell--PaddingLeft) * -1);
|
|
1300
|
+
--pf-c-table__tree-view-main--c-table__check--PaddingRight: var(--pf-global--spacer--sm);
|
|
1301
|
+
--pf-c-table__tree-view-main--c-table__check--PaddingLeft: var(--pf-global--spacer--sm);
|
|
1300
1302
|
--pf-c-table__tree-view-main--c-table__check--MarginRight: var(--pf-global--spacer--sm);
|
|
1301
1303
|
--pf-c-table__tree-view-icon--MinWidth: var(--pf-global--FontSize--md);
|
|
1302
1304
|
--pf-c-table__tree-view-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
@@ -1371,6 +1373,12 @@
|
|
|
1371
1373
|
margin-right: var(--pf-c-table__tree-view-main--c-table__check--MarginRight);
|
|
1372
1374
|
}
|
|
1373
1375
|
|
|
1376
|
+
.pf-c-table__tree-view-main > .pf-c-table__check label {
|
|
1377
|
+
padding-right: var(--pf-c-table__tree-view-main--c-table__check--PaddingRight);
|
|
1378
|
+
padding-left: var(--pf-c-table__tree-view-main--c-table__check--PaddingLeft);
|
|
1379
|
+
margin: 0 calc(var(--pf-c-table__tree-view-main--c-table__check--MarginRight) * -1) 0 0;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1374
1382
|
.pf-c-table__tree-view-text {
|
|
1375
1383
|
display: flex;
|
|
1376
1384
|
}
|
|
@@ -19055,6 +19063,15 @@ ul.pf-c-list {
|
|
|
19055
19063
|
flex: 1 0 auto;
|
|
19056
19064
|
}
|
|
19057
19065
|
|
|
19066
|
+
.pf-c-pagination__nav-page-select .pf-c-form-control {
|
|
19067
|
+
appearance: textfield;
|
|
19068
|
+
}
|
|
19069
|
+
|
|
19070
|
+
.pf-c-pagination__nav-page-select .pf-c-form-control::-webkit-inner-spin-button, .pf-c-pagination__nav-page-select .pf-c-form-control::-webkit-outer-spin-button {
|
|
19071
|
+
appearance: none;
|
|
19072
|
+
margin: 0;
|
|
19073
|
+
}
|
|
19074
|
+
|
|
19058
19075
|
.pf-c-pagination {
|
|
19059
19076
|
--pf-c-pagination--child--MarginRight: var(--pf-global--spacer--lg);
|
|
19060
19077
|
--pf-c-pagination--m-bottom--child--MarginRight: 0;
|
|
@@ -19083,7 +19100,7 @@ ul.pf-c-list {
|
|
|
19083
19100
|
--pf-c-pagination__nav-page-select--PaddingLeft: var(--pf-global--spacer--md);
|
|
19084
19101
|
--pf-c-pagination__nav-page-select--PaddingRight: var(--pf-global--spacer--md);
|
|
19085
19102
|
--pf-c-pagination__nav-page-select--child--MarginRight: var(--pf-global--spacer--xs);
|
|
19086
|
-
--pf-c-pagination__nav-page-select--c-form-control--width-base:
|
|
19103
|
+
--pf-c-pagination__nav-page-select--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2);
|
|
19087
19104
|
--pf-c-pagination__nav-page-select--c-form-control--width-chars: 2;
|
|
19088
19105
|
--pf-c-pagination__nav-page-select--c-form-control--Width: calc(var(--pf-c-pagination__nav-page-select--c-form-control--width-base) + (var(--pf-c-pagination__nav-page-select--c-form-control--width-chars) * 1ch));
|
|
19089
19106
|
--pf-c-pagination__total-items--Display: block;
|
|
@@ -19964,6 +19981,10 @@ ul.pf-c-list {
|
|
|
19964
19981
|
--pf-c-progress-stepper__step-icon--Color: var(--pf-global--info-color--100);
|
|
19965
19982
|
}
|
|
19966
19983
|
|
|
19984
|
+
.pf-c-progress-stepper__step:last-child {
|
|
19985
|
+
--pf-c-progress-stepper__step-main--MarginBottom: 0;
|
|
19986
|
+
}
|
|
19987
|
+
|
|
19967
19988
|
.pf-c-progress-stepper__step-connector {
|
|
19968
19989
|
position: relative;
|
|
19969
19990
|
display: flex;
|
|
@@ -24440,10 +24461,19 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
24440
24461
|
--pf-c-toolbar--spacer: 0;
|
|
24441
24462
|
}
|
|
24442
24463
|
|
|
24464
|
+
.pf-c-number-input .pf-c-form-control {
|
|
24465
|
+
appearance: textfield;
|
|
24466
|
+
}
|
|
24467
|
+
|
|
24468
|
+
.pf-c-number-input .pf-c-form-control::-webkit-inner-spin-button, .pf-c-number-input .pf-c-form-control::-webkit-outer-spin-button {
|
|
24469
|
+
appearance: none;
|
|
24470
|
+
margin: 0;
|
|
24471
|
+
}
|
|
24472
|
+
|
|
24443
24473
|
.pf-c-number-input {
|
|
24444
24474
|
--pf-c-number-input__unit--c-input-group--MarginLeft: var(--pf-global--spacer--sm);
|
|
24445
24475
|
--pf-c-number-input__icon--FontSize: var(--pf-global--FontSize--xs);
|
|
24446
|
-
--pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2);
|
|
24476
|
+
--pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2);
|
|
24447
24477
|
--pf-c-number-input--c-form-control--width-chars: 4;
|
|
24448
24478
|
--pf-c-number-input--c-form-control--Width: calc(var(--pf-c-number-input--c-form-control--width-base) + var(--pf-c-number-input--c-form-control--width-chars) * 1ch);
|
|
24449
24479
|
display: inline-flex;
|
|
@@ -24454,12 +24484,6 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
24454
24484
|
display: inline-flex;
|
|
24455
24485
|
width: var(--pf-c-number-input--c-form-control--Width);
|
|
24456
24486
|
text-align: right;
|
|
24457
|
-
-moz-appearance: textfield;
|
|
24458
|
-
}
|
|
24459
|
-
|
|
24460
|
-
.pf-c-number-input .pf-c-form-control::-webkit-outer-spin-button, .pf-c-number-input .pf-c-form-control::-webkit-inner-spin-button {
|
|
24461
|
-
-webkit-appearance: none;
|
|
24462
|
-
margin: 0;
|
|
24463
24487
|
}
|
|
24464
24488
|
|
|
24465
24489
|
.pf-c-input-group + .pf-c-number-input__unit,
|
|
@@ -25562,6 +25586,7 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
25562
25586
|
--pf-c-text-input-group__text-input--PaddingLeft: var(--pf-global--spacer--sm);
|
|
25563
25587
|
--pf-c-text-input-group__text-input--MinWidth: 12ch;
|
|
25564
25588
|
--pf-c-text-input-group__text-input--m-hint--Color: var(--pf-global--Color--dark-200);
|
|
25589
|
+
--pf-c-text-input-group--placeholder--Color: var(--pf-global--Color--dark-200);
|
|
25565
25590
|
--pf-c-text-input-group__icon--Left: var(--pf-global--spacer--sm);
|
|
25566
25591
|
--pf-c-text-input-group__icon--Color: var(--pf-global--Color--200);
|
|
25567
25592
|
--pf-c-text-input-group__text--hover__icon--Color: var(--pf-global--Color--100);
|
|
@@ -25683,6 +25708,10 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
25683
25708
|
color: var(--pf-c-text-input-group__text-input--m-hint--Color);
|
|
25684
25709
|
}
|
|
25685
25710
|
|
|
25711
|
+
.pf-c-text-input-group__text-input::placeholder {
|
|
25712
|
+
color: var(--pf-c-text-input-group--placeholder--Color);
|
|
25713
|
+
}
|
|
25714
|
+
|
|
25686
25715
|
.pf-c-text-input-group__utilities {
|
|
25687
25716
|
display: flex;
|
|
25688
25717
|
align-items: center;
|
|
@@ -29227,6 +29256,20 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
29227
29256
|
--pf-c-alert-group--m-toast--Right: var(--pf-global--spacer--xl);
|
|
29228
29257
|
--pf-c-alert-group--m-toast--MaxWidth: 37.5rem;
|
|
29229
29258
|
--pf-c-alert-group--m-toast--ZIndex: var(--pf-global--ZIndex--2xl);
|
|
29259
|
+
--pf-c-alert-group__overflow-button--BorderWidth: 0;
|
|
29260
|
+
--pf-c-alert-group__overflow-button--PaddingTop: var(--pf-global--spacer--lg);
|
|
29261
|
+
--pf-c-alert-group__overflow-button--PaddingRight: var(--pf-global--spacer--md);
|
|
29262
|
+
--pf-c-alert-group__overflow-button--PaddingBottom: var(--pf-global--spacer--lg);
|
|
29263
|
+
--pf-c-alert-group__overflow-button--PaddingLeft: var(--pf-global--spacer--md);
|
|
29264
|
+
--pf-c-alert-group__overflow-button--Color: var(--pf-global--link--Color);
|
|
29265
|
+
--pf-c-alert-group__overflow-button--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
29266
|
+
--pf-c-alert-group__overflow-button--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
29267
|
+
--pf-c-alert-group__overflow-button--hover--Color: var(--pf-global--link--Color--hover);
|
|
29268
|
+
--pf-c-alert-group__overflow-button--hover--BoxShadow: var(--pf-global--BoxShadow--lg), var(--pf-global--BoxShadow--lg-bottom);
|
|
29269
|
+
--pf-c-alert-group__overflow-button--focus--Color: var(--pf-global--link--Color--hover);
|
|
29270
|
+
--pf-c-alert-group__overflow-button--focus--BoxShadow: var(--pf-global--BoxShadow--lg), var(--pf-global--BoxShadow--lg-bottom);
|
|
29271
|
+
--pf-c-alert-group__overflow-button--active--Color: var(--pf-global--link--Color--hover);
|
|
29272
|
+
--pf-c-alert-group__overflow-button--active--BoxShadow: var(--pf-global--BoxShadow--lg), var(--pf-global--BoxShadow--lg-bottom);
|
|
29230
29273
|
}
|
|
29231
29274
|
|
|
29232
29275
|
.pf-c-alert-group > * + * {
|
|
@@ -29242,6 +29285,31 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
29242
29285
|
max-width: var(--pf-c-alert-group--m-toast--MaxWidth);
|
|
29243
29286
|
}
|
|
29244
29287
|
|
|
29288
|
+
.pf-c-alert-group__overflow-button {
|
|
29289
|
+
position: relative;
|
|
29290
|
+
width: 100%;
|
|
29291
|
+
padding: var(--pf-c-alert-group__overflow-button--PaddingTop) var(--pf-c-alert-group__overflow-button--PaddingRight) var(--pf-c-alert-group__overflow-button--PaddingBottom) var(--pf-c-alert-group__overflow-button--PaddingLeft);
|
|
29292
|
+
color: var(--pf-c-alert-group__overflow-button--Color);
|
|
29293
|
+
background-color: var(--pf-c-alert-group__overflow-button--BackgroundColor);
|
|
29294
|
+
border-width: var(--pf-c-alert-group__overflow-button--BorderWidth);
|
|
29295
|
+
box-shadow: var(--pf-c-alert-group__overflow-button--BoxShadow);
|
|
29296
|
+
}
|
|
29297
|
+
|
|
29298
|
+
.pf-c-alert-group__overflow-button:hover {
|
|
29299
|
+
--pf-c-alert-group__overflow-button--Color: var(--pf-c-alert-group__overflow-button--hover--Color);
|
|
29300
|
+
--pf-c-alert-group__overflow-button--BoxShadow: var(--pf-c-alert-group__overflow-button--hover--BoxShadow);
|
|
29301
|
+
}
|
|
29302
|
+
|
|
29303
|
+
.pf-c-alert-group__overflow-button:focus {
|
|
29304
|
+
--pf-c-alert-group__overflow-button--Color: var(--pf-c-alert-group__overflow-button--focus--Color);
|
|
29305
|
+
--pf-c-alert-group__overflow-button--BoxShadow: var(--pf-c-alert-group__overflow-button--focus--BoxShadow);
|
|
29306
|
+
}
|
|
29307
|
+
|
|
29308
|
+
.pf-c-alert-group__overflow-button:active {
|
|
29309
|
+
--pf-c-alert-group__overflow-button--Color: var(--pf-c-alert-group__overflow-button--active--Color);
|
|
29310
|
+
--pf-c-alert-group__overflow-button--BoxShadow: var(--pf-c-alert-group__overflow-button--active--BoxShadow);
|
|
29311
|
+
}
|
|
29312
|
+
|
|
29245
29313
|
.pf-c-about-modal-box {
|
|
29246
29314
|
--pf-global--Color--100: var(--pf-global--Color--light-100);
|
|
29247
29315
|
--pf-global--Color--200: var(--pf-global--Color--light-200);
|