@patternfly/react-table 4.65.0 → 4.67.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 +38 -0
- package/dist/esm/components/Table/CollapseColumn.d.ts +1 -0
- package/dist/esm/components/Table/CollapseColumn.d.ts.map +1 -1
- package/dist/esm/components/Table/CollapseColumn.js +1 -1
- package/dist/esm/components/Table/CollapseColumn.js.map +1 -1
- package/dist/esm/components/Table/Table.d.ts +6 -1
- package/dist/esm/components/Table/Table.d.ts.map +1 -1
- package/dist/esm/components/Table/Table.js +12 -1
- package/dist/esm/components/Table/Table.js.map +1 -1
- package/dist/esm/components/Table/TableTypes.d.ts +2 -0
- package/dist/esm/components/Table/TableTypes.d.ts.map +1 -1
- package/dist/esm/components/Table/base/provider.d.ts +2 -2
- package/dist/esm/components/Table/base/types.d.ts +10 -2
- package/dist/esm/components/Table/base/types.d.ts.map +1 -1
- package/dist/esm/components/Table/base/types.js.map +1 -1
- package/dist/esm/components/Table/utils/decorators/collapsible.d.ts.map +1 -1
- package/dist/esm/components/Table/utils/decorators/collapsible.js +16 -5
- package/dist/esm/components/Table/utils/decorators/collapsible.js.map +1 -1
- package/dist/esm/components/Table/utils/headerUtils.d.ts +5 -1
- package/dist/esm/components/Table/utils/headerUtils.d.ts.map +1 -1
- package/dist/esm/components/Table/utils/headerUtils.js +2 -2
- package/dist/esm/components/Table/utils/headerUtils.js.map +1 -1
- package/dist/esm/components/TableComposable/Td.d.ts +1 -1
- package/dist/esm/components/TableComposable/Th.d.ts +4 -2
- package/dist/esm/components/TableComposable/Th.d.ts.map +1 -1
- package/dist/esm/components/TableComposable/Th.js +15 -3
- package/dist/esm/components/TableComposable/Th.js.map +1 -1
- package/dist/js/components/Table/CollapseColumn.d.ts +1 -0
- package/dist/js/components/Table/CollapseColumn.d.ts.map +1 -1
- package/dist/js/components/Table/CollapseColumn.js +1 -1
- package/dist/js/components/Table/CollapseColumn.js.map +1 -1
- package/dist/js/components/Table/Table.d.ts +6 -1
- package/dist/js/components/Table/Table.d.ts.map +1 -1
- package/dist/js/components/Table/Table.js +12 -1
- package/dist/js/components/Table/Table.js.map +1 -1
- package/dist/js/components/Table/TableTypes.d.ts +2 -0
- package/dist/js/components/Table/TableTypes.d.ts.map +1 -1
- package/dist/js/components/Table/base/provider.d.ts +2 -2
- package/dist/js/components/Table/base/types.d.ts +10 -2
- package/dist/js/components/Table/base/types.d.ts.map +1 -1
- package/dist/js/components/Table/base/types.js.map +1 -1
- package/dist/js/components/Table/utils/decorators/collapsible.d.ts.map +1 -1
- package/dist/js/components/Table/utils/decorators/collapsible.js +16 -5
- package/dist/js/components/Table/utils/decorators/collapsible.js.map +1 -1
- package/dist/js/components/Table/utils/headerUtils.d.ts +5 -1
- package/dist/js/components/Table/utils/headerUtils.d.ts.map +1 -1
- package/dist/js/components/Table/utils/headerUtils.js +2 -2
- package/dist/js/components/Table/utils/headerUtils.js.map +1 -1
- package/dist/js/components/TableComposable/Td.d.ts +1 -1
- package/dist/js/components/TableComposable/Th.d.ts +4 -2
- package/dist/js/components/TableComposable/Th.d.ts.map +1 -1
- package/dist/js/components/TableComposable/Th.js +15 -3
- package/dist/js/components/TableComposable/Th.js.map +1 -1
- package/dist/umd/react-table.css +194 -10
- package/dist/umd/react-table.js +88 -55
- package/dist/umd/react-table.min.css +194 -10
- package/dist/umd/react-table.min.js +4 -4
- package/package.json +6 -6
- package/src/components/Table/CollapseColumn.tsx +2 -1
- package/src/components/Table/Table.tsx +19 -1
- package/src/components/Table/TableTypes.tsx +2 -0
- package/src/components/Table/__snapshots__/Table.test.tsx.snap +5115 -23
- package/src/components/Table/base/types.tsx +9 -0
- package/src/components/Table/utils/decorators/collapsible.tsx +28 -7
- package/src/components/Table/utils/headerUtils.test.tsx +1 -1
- package/src/components/Table/utils/headerUtils.tsx +8 -2
- package/src/components/TableComposable/Th.tsx +18 -3
- package/src/components/TableComposable/examples/ComposableTable.md +1 -0
- package/src/components/TableComposable/examples/ComposableTableExpandable.tsx +1 -0
- package/src/demos/Table.md +12 -208
- package/src/demos/table-demos/ExpandCollapseAll.jsx +139 -0
package/dist/umd/react-table.js
CHANGED
|
@@ -7436,6 +7436,66 @@
|
|
|
7436
7436
|
};
|
|
7437
7437
|
};
|
|
7438
7438
|
|
|
7439
|
+
const CollapseColumn = (_a) => {
|
|
7440
|
+
var { className = '', children = null, isOpen, onToggle } = _a, props = __rest$2(_a, ["className", "children", "isOpen", "onToggle"]);
|
|
7441
|
+
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
7442
|
+
isOpen !== undefined && (React__namespace.createElement(Button, Object.assign({ className: css(className, isOpen && _default$3.modifiers.expanded) }, props, { variant: "plain", "aria-label": props['aria-label'] || 'Details', onClick: onToggle, "aria-expanded": isOpen }),
|
|
7443
|
+
React__namespace.createElement("div", { className: css(_default$3.tableToggleIcon) },
|
|
7444
|
+
React__namespace.createElement(AngleDownIcon$1, null)))),
|
|
7445
|
+
children));
|
|
7446
|
+
};
|
|
7447
|
+
CollapseColumn.displayName = 'CollapseColumn';
|
|
7448
|
+
|
|
7449
|
+
const ExpandableRowContent = (_a) => {
|
|
7450
|
+
var { children = null } = _a, props = __rest$2(_a, ["children"]);
|
|
7451
|
+
return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$3.tableExpandableRowContent) }), children));
|
|
7452
|
+
};
|
|
7453
|
+
ExpandableRowContent.displayName = 'ExpandableRowContent';
|
|
7454
|
+
|
|
7455
|
+
const collapsible = (value, { rowIndex, columnIndex, rowData, column, property }) => {
|
|
7456
|
+
const { extraParams: { onCollapse, rowLabeledBy = 'simple-node', expandId = 'expand-toggle', allRowsExpanded, collapseAllAriaLabel } } = column;
|
|
7457
|
+
const extraData = {
|
|
7458
|
+
rowIndex,
|
|
7459
|
+
columnIndex,
|
|
7460
|
+
column,
|
|
7461
|
+
property
|
|
7462
|
+
};
|
|
7463
|
+
const rowId = rowIndex !== undefined ? rowIndex : -1;
|
|
7464
|
+
const customProps = Object.assign({}, (rowId !== -1
|
|
7465
|
+
? {
|
|
7466
|
+
isOpen: rowData === null || rowData === void 0 ? void 0 : rowData.isOpen,
|
|
7467
|
+
'aria-labelledby': `${rowLabeledBy}${rowId} ${expandId}${rowId}`
|
|
7468
|
+
}
|
|
7469
|
+
: {
|
|
7470
|
+
isOpen: allRowsExpanded,
|
|
7471
|
+
'aria-label': collapseAllAriaLabel || 'Expand all rows'
|
|
7472
|
+
}));
|
|
7473
|
+
/**
|
|
7474
|
+
* @param {React.MouseEvent} event - Mouse event
|
|
7475
|
+
*/
|
|
7476
|
+
function onToggle(event) {
|
|
7477
|
+
const open = rowData ? !rowData.isOpen : !allRowsExpanded;
|
|
7478
|
+
// tslint:disable-next-line:no-unused-expression
|
|
7479
|
+
onCollapse && onCollapse(event, rowIndex, open, rowData, extraData);
|
|
7480
|
+
}
|
|
7481
|
+
return {
|
|
7482
|
+
className: ((rowData === null || rowData === void 0 ? void 0 : rowData.isOpen) !== undefined || rowId === -1) && css(_default$3.tableToggle),
|
|
7483
|
+
isVisible: !(rowData === null || rowData === void 0 ? void 0 : rowData.fullWidth),
|
|
7484
|
+
children: (React__namespace.createElement(CollapseColumn, Object.assign({ "aria-labelledby": `${rowLabeledBy}${rowId} ${expandId}${rowId}`, onToggle: onToggle, id: expandId + rowId }, customProps), value))
|
|
7485
|
+
};
|
|
7486
|
+
};
|
|
7487
|
+
const expandable = (value, { rowData }) => rowData && rowData.hasOwnProperty('parent') ? React__namespace.createElement(ExpandableRowContent, null, value) : value;
|
|
7488
|
+
const expandedRow = (colSpan) => {
|
|
7489
|
+
const expandedRowFormatter = (value, { columnIndex, rowIndex, rowData, column: { extraParams: { contentId = 'expanded-content' } } }) => value &&
|
|
7490
|
+
rowData.hasOwnProperty('parent') && {
|
|
7491
|
+
// todo: rewrite this logic, it is not type safe
|
|
7492
|
+
colSpan: !rowData.cells || rowData.cells.length === 1 ? colSpan + !!rowData.fullWidth : 1,
|
|
7493
|
+
id: contentId + rowIndex + (columnIndex ? '-' + columnIndex : ''),
|
|
7494
|
+
className: rowData.noPadding && css(_default$3.modifiers.noPadding)
|
|
7495
|
+
};
|
|
7496
|
+
return expandedRowFormatter;
|
|
7497
|
+
};
|
|
7498
|
+
|
|
7439
7499
|
const cellWidth = (width) => () => ({
|
|
7440
7500
|
className: css(_default$3.modifiers[typeof width === 'number' ? `width_${width}` : `width${capitalize(width)}`])
|
|
7441
7501
|
});
|
|
@@ -10057,7 +10117,7 @@
|
|
|
10057
10117
|
}
|
|
10058
10118
|
|
|
10059
10119
|
const ThBase = (_a) => {
|
|
10060
|
-
var { children, className, component = 'th', dataLabel, scope = 'col', textCenter = false, sort = null, modifier, select = null, tooltip = '', onMouseEnter: onMouseEnterProp = () => { }, width, visibility, innerRef, info: infoProps, isStickyColumn = false, hasRightBorder = false, stickyMinWidth = '120px', stickyLeftOffset, isSubheader = false } = _a, props = __rest$2(_a, ["children", "className", "component", "dataLabel", "scope", "textCenter", "sort", "modifier", "select", "tooltip", "onMouseEnter", "width", "visibility", "innerRef", "info", "isStickyColumn", "hasRightBorder", "stickyMinWidth", "stickyLeftOffset", "isSubheader"]);
|
|
10120
|
+
var { children, className, component = 'th', dataLabel, scope = 'col', textCenter = false, sort = null, modifier, select = null, expand: collapse = null, tooltip = '', onMouseEnter: onMouseEnterProp = () => { }, width, visibility, innerRef, info: infoProps, isStickyColumn = false, hasRightBorder = false, stickyMinWidth = '120px', stickyLeftOffset, isSubheader = false } = _a, props = __rest$2(_a, ["children", "className", "component", "dataLabel", "scope", "textCenter", "sort", "modifier", "select", "expand", "tooltip", "onMouseEnter", "width", "visibility", "innerRef", "info", "isStickyColumn", "hasRightBorder", "stickyMinWidth", "stickyLeftOffset", "isSubheader"]);
|
|
10061
10121
|
const [showTooltip, setShowTooltip] = React__namespace.useState(false);
|
|
10062
10122
|
const onMouseEnter = (event) => {
|
|
10063
10123
|
if (event.target.offsetWidth < event.target.scrollWidth) {
|
|
@@ -10101,18 +10161,29 @@
|
|
|
10101
10161
|
}
|
|
10102
10162
|
})
|
|
10103
10163
|
: null;
|
|
10164
|
+
const collapseParams = collapse
|
|
10165
|
+
? collapsible(children, {
|
|
10166
|
+
column: {
|
|
10167
|
+
extraParams: {
|
|
10168
|
+
onCollapse: collapse === null || collapse === void 0 ? void 0 : collapse.onToggle,
|
|
10169
|
+
allRowsExpanded: !collapse.areAllExpanded,
|
|
10170
|
+
collapseAllAriaLabel: ''
|
|
10171
|
+
}
|
|
10172
|
+
}
|
|
10173
|
+
})
|
|
10174
|
+
: null;
|
|
10104
10175
|
const widthParams = width ? cellWidth(width)() : null;
|
|
10105
10176
|
const visibilityParams = visibility
|
|
10106
10177
|
? classNames(...visibility.map((vis) => Visibility[vis]))()
|
|
10107
10178
|
: null;
|
|
10108
|
-
let transformedChildren = (sortParams === null || sortParams === void 0 ? void 0 : sortParams.children) || (selectParams === null || selectParams === void 0 ? void 0 : selectParams.children) || children;
|
|
10179
|
+
let transformedChildren = (sortParams === null || sortParams === void 0 ? void 0 : sortParams.children) || (selectParams === null || selectParams === void 0 ? void 0 : selectParams.children) || (collapseParams === null || collapseParams === void 0 ? void 0 : collapseParams.children) || children;
|
|
10109
10180
|
// info can wrap other transformedChildren
|
|
10110
10181
|
let infoParams = null;
|
|
10111
10182
|
if (infoProps) {
|
|
10112
10183
|
infoParams = info(infoProps)(transformedChildren);
|
|
10113
10184
|
transformedChildren = infoParams.children;
|
|
10114
10185
|
}
|
|
10115
|
-
const merged = mergeProps(sortParams, selectParams, widthParams, visibilityParams, infoParams);
|
|
10186
|
+
const merged = mergeProps(sortParams, selectParams, collapseParams, widthParams, visibilityParams, infoParams);
|
|
10116
10187
|
const {
|
|
10117
10188
|
// ignore the merged children since we transform them ourselves so we can wrap it with info
|
|
10118
10189
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -10203,55 +10274,6 @@
|
|
|
10203
10274
|
return Object.assign({ className: css(_default$3.tableAction), style: { paddingRight: 0 }, isVisible: true }, renderProps);
|
|
10204
10275
|
};
|
|
10205
10276
|
|
|
10206
|
-
const CollapseColumn = (_a) => {
|
|
10207
|
-
var { className = '', children = null, isOpen, onToggle } = _a, props = __rest$2(_a, ["className", "children", "isOpen", "onToggle"]);
|
|
10208
|
-
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
10209
|
-
isOpen !== undefined && (React__namespace.createElement(Button, Object.assign({ className: css(className, isOpen && _default$3.modifiers.expanded) }, props, { variant: "plain", "aria-label": "Details", onClick: onToggle, "aria-expanded": isOpen }),
|
|
10210
|
-
React__namespace.createElement("div", { className: css(_default$3.tableToggleIcon) },
|
|
10211
|
-
React__namespace.createElement(AngleDownIcon$1, null)))),
|
|
10212
|
-
children));
|
|
10213
|
-
};
|
|
10214
|
-
CollapseColumn.displayName = 'CollapseColumn';
|
|
10215
|
-
|
|
10216
|
-
const ExpandableRowContent = (_a) => {
|
|
10217
|
-
var { children = null } = _a, props = __rest$2(_a, ["children"]);
|
|
10218
|
-
return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$3.tableExpandableRowContent) }), children));
|
|
10219
|
-
};
|
|
10220
|
-
ExpandableRowContent.displayName = 'ExpandableRowContent';
|
|
10221
|
-
|
|
10222
|
-
const collapsible = (value, { rowIndex, columnIndex, rowData, column, property }) => {
|
|
10223
|
-
const { extraParams: { onCollapse, rowLabeledBy = 'simple-node', expandId = 'expand-toggle' } } = column;
|
|
10224
|
-
const extraData = {
|
|
10225
|
-
rowIndex,
|
|
10226
|
-
columnIndex,
|
|
10227
|
-
column,
|
|
10228
|
-
property
|
|
10229
|
-
};
|
|
10230
|
-
/**
|
|
10231
|
-
* @param {React.MouseEvent} event - Mouse event
|
|
10232
|
-
*/
|
|
10233
|
-
function onToggle(event) {
|
|
10234
|
-
// tslint:disable-next-line:no-unused-expression
|
|
10235
|
-
onCollapse && onCollapse(event, rowIndex, rowData && !rowData.isOpen, rowData, extraData);
|
|
10236
|
-
}
|
|
10237
|
-
return {
|
|
10238
|
-
className: rowData.isOpen !== undefined && css(_default$3.tableToggle),
|
|
10239
|
-
isVisible: !rowData.fullWidth,
|
|
10240
|
-
children: (React__namespace.createElement(CollapseColumn, { "aria-labelledby": `${rowLabeledBy}${rowIndex} ${expandId}${rowIndex}`, onToggle: onToggle, id: expandId + rowIndex, isOpen: rowData && rowData.isOpen }, value))
|
|
10241
|
-
};
|
|
10242
|
-
};
|
|
10243
|
-
const expandable = (value, { rowData }) => rowData && rowData.hasOwnProperty('parent') ? React__namespace.createElement(ExpandableRowContent, null, value) : value;
|
|
10244
|
-
const expandedRow = (colSpan) => {
|
|
10245
|
-
const expandedRowFormatter = (value, { columnIndex, rowIndex, rowData, column: { extraParams: { contentId = 'expanded-content' } } }) => value &&
|
|
10246
|
-
rowData.hasOwnProperty('parent') && {
|
|
10247
|
-
// todo: rewrite this logic, it is not type safe
|
|
10248
|
-
colSpan: !rowData.cells || rowData.cells.length === 1 ? colSpan + !!rowData.fullWidth : 1,
|
|
10249
|
-
id: contentId + rowIndex + (columnIndex ? '-' + columnIndex : ''),
|
|
10250
|
-
className: rowData.noPadding && css(_default$3.modifiers.noPadding)
|
|
10251
|
-
};
|
|
10252
|
-
return expandedRowFormatter;
|
|
10253
|
-
};
|
|
10254
|
-
|
|
10255
10277
|
const compoundExpand = (value, { rowIndex, columnIndex, rowData, column, property }) => {
|
|
10256
10278
|
if (!value) {
|
|
10257
10279
|
return null;
|
|
@@ -12122,12 +12144,12 @@
|
|
|
12122
12144
|
* @param {*} extraObject with onCollapse callback.
|
|
12123
12145
|
* @returns {*} object with empty title, tranforms - Array, cellTransforms - Array.
|
|
12124
12146
|
*/
|
|
12125
|
-
const collapsibleTransforms = (header, { onCollapse }) => [
|
|
12147
|
+
const collapsibleTransforms = (header, { onCollapse, canCollapseAll }) => [
|
|
12126
12148
|
...(onCollapse
|
|
12127
12149
|
? [
|
|
12128
12150
|
{
|
|
12129
12151
|
title: '',
|
|
12130
|
-
transforms: [
|
|
12152
|
+
transforms: (canCollapseAll && [collapsible]) || null,
|
|
12131
12153
|
cellTransforms: [collapsible, expandedRow(header.length)]
|
|
12132
12154
|
}
|
|
12133
12155
|
]
|
|
@@ -12265,9 +12287,15 @@
|
|
|
12265
12287
|
}
|
|
12266
12288
|
return rows.every(row => this.isSelected(row) || row.disableSelection || (row.hasOwnProperty('parent') && !row.showSelect));
|
|
12267
12289
|
};
|
|
12290
|
+
this.areAllExpanded = (rows) => {
|
|
12291
|
+
if (rows === undefined || rows.length === 0) {
|
|
12292
|
+
return false;
|
|
12293
|
+
}
|
|
12294
|
+
return rows.every(row => row.isOpen === undefined || row.isOpen);
|
|
12295
|
+
};
|
|
12268
12296
|
}
|
|
12269
12297
|
render() {
|
|
12270
|
-
const _a = this.props, { 'aria-label': ariaLabel, caption, header, onSort, onSelect, canSelectAll, isHeaderSelectDisabled, selectVariant, sortBy, children, actions, actionResolver, areActionsDisabled, onCollapse, onExpand, onRowEdit, rowLabeledBy, dropdownPosition, dropdownDirection, actionsToggle, contentId, expandId, variant, rows, cells, bodyWrapper, rowWrapper, role, borders, onFavorite, canSortFavorites } = _a, props = __rest$2(_a, ['aria-label', "caption", "header", "onSort", "onSelect", "canSelectAll", "isHeaderSelectDisabled", "selectVariant", "sortBy", "children", "actions", "actionResolver", "areActionsDisabled", "onCollapse", "onExpand", "onRowEdit", "rowLabeledBy", "dropdownPosition", "dropdownDirection", "actionsToggle", "contentId", "expandId", "variant", "rows", "cells", "bodyWrapper", "rowWrapper", "role", "borders", "onFavorite", "canSortFavorites"]);
|
|
12298
|
+
const _a = this.props, { 'aria-label': ariaLabel, caption, header, onSort, onSelect, canSelectAll, canCollapseAll, isHeaderSelectDisabled, selectVariant, collapseAllAriaLabel, sortBy, children, actions, actionResolver, areActionsDisabled, onCollapse, onExpand, onRowEdit, rowLabeledBy, dropdownPosition, dropdownDirection, actionsToggle, contentId, expandId, variant, rows, cells, bodyWrapper, rowWrapper, role, borders, onFavorite, canSortFavorites } = _a, props = __rest$2(_a, ['aria-label', "caption", "header", "onSort", "onSelect", "canSelectAll", "canCollapseAll", "isHeaderSelectDisabled", "selectVariant", "collapseAllAriaLabel", "sortBy", "children", "actions", "actionResolver", "areActionsDisabled", "onCollapse", "onExpand", "onRowEdit", "rowLabeledBy", "dropdownPosition", "dropdownDirection", "actionsToggle", "contentId", "expandId", "variant", "rows", "cells", "bodyWrapper", "rowWrapper", "role", "borders", "onFavorite", "canSortFavorites"]);
|
|
12271
12299
|
if (!ariaLabel && !caption && !header && role !== 'presentation') {
|
|
12272
12300
|
// eslint-disable-next-line no-console
|
|
12273
12301
|
console.error('Table: Specify at least one of: header, caption, aria-label');
|
|
@@ -12277,9 +12305,12 @@
|
|
|
12277
12305
|
onSort,
|
|
12278
12306
|
onSelect,
|
|
12279
12307
|
canSelectAll: selectVariant === exports.RowSelectVariant.radio ? false : canSelectAll,
|
|
12308
|
+
canCollapseAll,
|
|
12280
12309
|
isHeaderSelectDisabled,
|
|
12281
12310
|
selectVariant,
|
|
12311
|
+
collapseAllAriaLabel,
|
|
12282
12312
|
allRowsSelected: onSelect ? this.areAllRowsSelected(rows) : false,
|
|
12313
|
+
allRowsExpanded: onCollapse ? this.areAllExpanded(rows) : false,
|
|
12283
12314
|
actions,
|
|
12284
12315
|
actionResolver,
|
|
12285
12316
|
areActionsDisabled,
|
|
@@ -12339,8 +12370,10 @@
|
|
|
12339
12370
|
gridBreakPoint: exports.TableGridBreakpoint.gridMd,
|
|
12340
12371
|
role: 'grid',
|
|
12341
12372
|
canSelectAll: true,
|
|
12373
|
+
canCollapseAll: true,
|
|
12342
12374
|
isHeaderSelectDisabled: false,
|
|
12343
12375
|
selectVariant: 'checkbox',
|
|
12376
|
+
collapseAllAriaLabel: '',
|
|
12344
12377
|
ouiaSafe: true,
|
|
12345
12378
|
isStickyHeader: false,
|
|
12346
12379
|
canSortFavorites: true,
|
|
@@ -16755,6 +16755,200 @@ ul.pf-c-list {
|
|
|
16755
16755
|
--pf-c-modal-box__footer--c-button--MarginRight: var(--pf-c-modal-box__footer--c-button--sm--MarginRight);
|
|
16756
16756
|
}
|
|
16757
16757
|
}
|
|
16758
|
+
.pf-l-bullseye {
|
|
16759
|
+
--pf-l-bullseye--Padding: 0;
|
|
16760
|
+
display: flex;
|
|
16761
|
+
align-items: center;
|
|
16762
|
+
justify-content: center;
|
|
16763
|
+
height: 100%;
|
|
16764
|
+
padding: var(--pf-l-bullseye--Padding);
|
|
16765
|
+
margin: 0;
|
|
16766
|
+
}
|
|
16767
|
+
|
|
16768
|
+
.pf-c-multiple-file-upload {
|
|
16769
|
+
--pf-c-multiple-file-upload--GridTemplateColumns: 1fr;
|
|
16770
|
+
--pf-c-multiple-file-upload--Gap: var(--pf-global--spacer--lg);
|
|
16771
|
+
--pf-c-multiple-file-upload__main--TextAlign: center;
|
|
16772
|
+
--pf-c-multiple-file-upload__main--GridTemplateColumns: auto;
|
|
16773
|
+
--pf-c-multiple-file-upload__main--GridTemplateRows: auto;
|
|
16774
|
+
--pf-c-multiple-file-upload__main--GridTemplateAreas:
|
|
16775
|
+
"title"
|
|
16776
|
+
"upload"
|
|
16777
|
+
"info";
|
|
16778
|
+
--pf-c-multiple-file-upload__main--Gap: var(--pf-global--spacer--md);
|
|
16779
|
+
--pf-c-multiple-file-upload__main--PaddingTop: var(--pf-global--spacer--lg);
|
|
16780
|
+
--pf-c-multiple-file-upload__main--PaddingRight: var(--pf-global--spacer--lg);
|
|
16781
|
+
--pf-c-multiple-file-upload__main--PaddingBottom: var(--pf-global--spacer--xl);
|
|
16782
|
+
--pf-c-multiple-file-upload__main--PaddingLeft: var(--pf-global--spacer--lg);
|
|
16783
|
+
--pf-c-multiple-file-upload__main--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
16784
|
+
--pf-c-multiple-file-upload__main--BorderStyle: dashed;
|
|
16785
|
+
--pf-c-multiple-file-upload__main--BorderColor: var(--pf-global--BorderColor--100);
|
|
16786
|
+
--pf-c-multiple-file-upload__main--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
16787
|
+
--pf-c-multiple-file-upload__title--Display: grid;
|
|
16788
|
+
--pf-c-multiple-file-upload__title--GridTemplateColumns: auto;
|
|
16789
|
+
--pf-c-multiple-file-upload__title--Gap: var(--pf-global--spacer--sm);
|
|
16790
|
+
--pf-c-multiple-file-upload__title-icon--Color: var(--pf-global--Color--200);
|
|
16791
|
+
--pf-c-multiple-file-upload__title-text-separator--Display: block;
|
|
16792
|
+
--pf-c-multiple-file-upload__title-text-separator--MarginTop: var(--pf-global--spacer--sm);
|
|
16793
|
+
--pf-c-multiple-file-upload__info--FontSize: var(--pf-global--FontSize--sm);
|
|
16794
|
+
--pf-c-multiple-file-upload__info--Color: var(--pf-global--Color--200);
|
|
16795
|
+
--pf-c-multiple-file-upload__info--MarginTop: var(--pf-global--spacer--sm);
|
|
16796
|
+
--pf-c-multiple-file-upload--m-drag-over__main--BorderStyle: solid;
|
|
16797
|
+
--pf-c-multiple-file-upload--m-drag-over__main--BorderColor: var(--pf-global--active-color--100);
|
|
16798
|
+
--pf-c-multiple-file-upload--m-drag-over__main--BackgroundColor: var(--pf-global--palette--blue-50);
|
|
16799
|
+
--pf-c-multiple-file-upload--m-drag-over__main__title-icon--Color: var(--pf-global--active-color--100);
|
|
16800
|
+
--pf-c-multiple-file-upload--m-drag-over__main__title-text--Color: var(--pf-global--active-color--100);
|
|
16801
|
+
--pf-c-multiple-file-upload--m-drag-over__main__info--Color: var(--pf-global--active-color--100);
|
|
16802
|
+
--pf-c-multiple-file-upload--m-horizontal--GridTemplateColumns: fit-content(100%);
|
|
16803
|
+
--pf-c-multiple-file-upload--m-horizontal__main--TextAlign: left;
|
|
16804
|
+
--pf-c-multiple-file-upload--m-horizontal__main--GridTemplateColumns: 1fr auto;
|
|
16805
|
+
--pf-c-multiple-file-upload--m-horizontal__main--GridTemplateAreas:
|
|
16806
|
+
"title upload"
|
|
16807
|
+
"info upload";
|
|
16808
|
+
--pf-c-multiple-file-upload--m-horizontal__main--Gap: var(--pf-global--spacer--sm) var(--pf-global--spacer--2xl);
|
|
16809
|
+
--pf-c-multiple-file-upload--m-horizontal__main--PaddingBottom: var(--pf-global--spacer--lg);
|
|
16810
|
+
--pf-c-multiple-file-upload--m-horizontal__title--GridTemplateColumns: auto 1fr;
|
|
16811
|
+
--pf-c-multiple-file-upload--m-horizontal__title--Gap: var(--pf-global--spacer--xs);
|
|
16812
|
+
--pf-c-multiple-file-upload--m-horizontal__title-text-separator--Display: inline;
|
|
16813
|
+
--pf-c-multiple-file-upload--m-horizontal__title-text-separator--MarginTop: 0;
|
|
16814
|
+
--pf-c-multiple-file-upload--m-horizontal__info--MarginTop: 0;
|
|
16815
|
+
--pf-c-multiple-file-upload__status-progress--GridTemplateColumns: auto 1fr;
|
|
16816
|
+
--pf-c-multiple-file-upload__status-progress--Gap: var(--pf-global--spacer--sm);
|
|
16817
|
+
--pf-c-multiple-file-upload__status-progress-icon--Color: var(--pf-global--Color--200);
|
|
16818
|
+
--pf-c-multiple-file-upload__status-item--PaddingTop: var(--pf-global--spacer--md);
|
|
16819
|
+
--pf-c-multiple-file-upload__status-item--PaddingBottom: var(--pf-global--spacer--md);
|
|
16820
|
+
--pf-c-multiple-file-upload__status-item--first-child--PaddingTop: 0;
|
|
16821
|
+
--pf-c-multiple-file-upload__status-item--GridTemplateColumns: auto 1fr auto;
|
|
16822
|
+
--pf-c-multiple-file-upload__status-item--Gap: var(--pf-global--spacer--sm);
|
|
16823
|
+
--pf-c-multiple-file-upload__status-item--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
16824
|
+
--pf-c-multiple-file-upload__status-item--BorderColor: var(--pf-global--BorderColor--100);
|
|
16825
|
+
--pf-c-multiple-file-upload__status-item-icon--Color: var(--pf-global--Color--200);
|
|
16826
|
+
--pf-c-multiple-file-upload__status-item-close--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
|
|
16827
|
+
--pf-c-multiple-file-upload__status-item-progress--GridTemplateColumns: fit-content(100%) max-content;
|
|
16828
|
+
--pf-c-multiple-file-upload__status-item-progress--Gap: var(--pf-global--spacer--sm);
|
|
16829
|
+
--pf-c-multiple-file-upload__status-item-progress-text--Color: var(--pf-global--primary-color--100);
|
|
16830
|
+
--pf-c-multiple-file-upload__status-item-progress-size--Color: var(--pf-global--Color--200);
|
|
16831
|
+
display: grid;
|
|
16832
|
+
gap: var(--pf-c-multiple-file-upload--Gap);
|
|
16833
|
+
grid-template-columns: var(--pf-c-multiple-file-upload--GridTemplateColumns);
|
|
16834
|
+
}
|
|
16835
|
+
|
|
16836
|
+
.pf-c-multiple-file-upload.pf-m-horizontal {
|
|
16837
|
+
--pf-c-multiple-file-upload--GridTemplateColumns: var(--pf-c-multiple-file-upload--m-horizontal--GridTemplateColumns);
|
|
16838
|
+
--pf-c-multiple-file-upload__main--TextAlign: var(--pf-c-multiple-file-upload--m-horizontal__main--TextAlign);
|
|
16839
|
+
--pf-c-multiple-file-upload__main--GridTemplateColumns: var(--pf-c-multiple-file-upload--m-horizontal__main--GridTemplateColumns);
|
|
16840
|
+
--pf-c-multiple-file-upload__main--GridTemplateAreas: var(--pf-c-multiple-file-upload--m-horizontal__main--GridTemplateAreas);
|
|
16841
|
+
--pf-c-multiple-file-upload__main--Gap: var(--pf-c-multiple-file-upload--m-horizontal__main--Gap);
|
|
16842
|
+
--pf-c-multiple-file-upload__main--PaddingBottom: var(--pf-c-multiple-file-upload--m-horizontal__main--PaddingBottom);
|
|
16843
|
+
--pf-c-multiple-file-upload__title--GridTemplateColumns: var(--pf-c-multiple-file-upload--m-horizontal__title--GridTemplateColumns);
|
|
16844
|
+
--pf-c-multiple-file-upload__title--Gap: var(--pf-c-multiple-file-upload--m-horizontal__title--Gap);
|
|
16845
|
+
--pf-c-multiple-file-upload__title-text-separator--Display: var(--pf-c-multiple-file-upload--m-horizontal__title-text-separator--Display);
|
|
16846
|
+
--pf-c-multiple-file-upload__title-text-separator--MarginTop: var(--pf-c-multiple-file-upload--m-horizontal__title-text-separator--MarginTop);
|
|
16847
|
+
--pf-c-multiple-file-upload__info--MarginTop: var(--pf-c-multiple-file-upload--m-horizontal__info--MarginTop);
|
|
16848
|
+
}
|
|
16849
|
+
|
|
16850
|
+
.pf-c-multiple-file-upload.pf-m-drag-over {
|
|
16851
|
+
--pf-c-multiple-file-upload__main--BorderStyle: var(--pf-c-multiple-file-upload--m-drag-over__main--BorderStyle);
|
|
16852
|
+
--pf-c-multiple-file-upload__main--BorderColor: var(--pf-c-multiple-file-upload--m-drag-over__main--BorderColor);
|
|
16853
|
+
--pf-c-multiple-file-upload__main--BackgroundColor: var(--pf-c-multiple-file-upload--m-drag-over__main--BackgroundColor);
|
|
16854
|
+
--pf-c-multiple-file-upload__title-icon--Color: var(--pf-c-multiple-file-upload--m-drag-over__main__title-icon--Color);
|
|
16855
|
+
--pf-c-multiple-file-upload__title-text--Color: var(--pf-c-multiple-file-upload--m-drag-over__main__title-text--Color);
|
|
16856
|
+
--pf-c-multiple-file-upload__info--Color: var(--pf-c-multiple-file-upload--m-drag-over__main__info--Color);
|
|
16857
|
+
}
|
|
16858
|
+
|
|
16859
|
+
.pf-c-multiple-file-upload__main {
|
|
16860
|
+
display: grid;
|
|
16861
|
+
padding: var(--pf-c-multiple-file-upload__main--PaddingTop) var(--pf-c-multiple-file-upload__main--PaddingRight) var(--pf-c-multiple-file-upload__main--PaddingBottom) var(--pf-c-multiple-file-upload__main--PaddingLeft);
|
|
16862
|
+
text-align: var(--pf-c-multiple-file-upload__main--TextAlign);
|
|
16863
|
+
background-color: var(--pf-c-multiple-file-upload__main--BackgroundColor);
|
|
16864
|
+
border: var(--pf-c-multiple-file-upload__main--BorderWidth) var(--pf-c-multiple-file-upload__main--BorderStyle) var(--pf-c-multiple-file-upload__main--BorderColor);
|
|
16865
|
+
grid-template-columns: var(--pf-c-multiple-file-upload__main--GridTemplateColumns);
|
|
16866
|
+
grid-template-rows: var(--pf-c-multiple-file-upload__main--GridTemplateRows);
|
|
16867
|
+
grid-template-areas: var(--pf-c-multiple-file-upload__main--GridTemplateAreas);
|
|
16868
|
+
gap: var(--pf-c-multiple-file-upload__main--Gap);
|
|
16869
|
+
}
|
|
16870
|
+
|
|
16871
|
+
.pf-c-multiple-file-upload__title {
|
|
16872
|
+
display: var(--pf-c-multiple-file-upload__title--Display);
|
|
16873
|
+
grid-template-columns: var(--pf-c-multiple-file-upload__title--GridTemplateColumns);
|
|
16874
|
+
gap: var(--pf-c-multiple-file-upload__title--Gap);
|
|
16875
|
+
grid-area: title;
|
|
16876
|
+
}
|
|
16877
|
+
|
|
16878
|
+
.pf-c-multiple-file-upload__title-icon {
|
|
16879
|
+
color: var(--pf-c-multiple-file-upload__title-icon--Color);
|
|
16880
|
+
}
|
|
16881
|
+
|
|
16882
|
+
.pf-c-multiple-file-upload__title-text {
|
|
16883
|
+
color: var(--pf-c-multiple-file-upload__title-text--Color, inherit);
|
|
16884
|
+
}
|
|
16885
|
+
|
|
16886
|
+
.pf-c-multiple-file-upload__title-text-separator {
|
|
16887
|
+
display: var(--pf-c-multiple-file-upload__title-text-separator--Display);
|
|
16888
|
+
margin-top: var(--pf-c-multiple-file-upload__title-text-separator--MarginTop);
|
|
16889
|
+
}
|
|
16890
|
+
|
|
16891
|
+
.pf-c-multiple-file-upload__upload {
|
|
16892
|
+
grid-area: upload;
|
|
16893
|
+
}
|
|
16894
|
+
|
|
16895
|
+
.pf-c-multiple-file-upload__info {
|
|
16896
|
+
grid-area: info;
|
|
16897
|
+
margin-top: var(--pf-c-multiple-file-upload__info--MarginTop);
|
|
16898
|
+
font-size: var(--pf-c-multiple-file-upload__info--FontSize);
|
|
16899
|
+
color: var(--pf-c-multiple-file-upload__info--Color);
|
|
16900
|
+
}
|
|
16901
|
+
|
|
16902
|
+
.pf-c-multiple-file-upload__status,
|
|
16903
|
+
.pf-c-multiple-file-upload__status-item-main {
|
|
16904
|
+
min-width: 0;
|
|
16905
|
+
}
|
|
16906
|
+
|
|
16907
|
+
.pf-c-multiple-file-upload__status-progress {
|
|
16908
|
+
display: grid;
|
|
16909
|
+
grid-template-columns: var(--pf-c-multiple-file-upload__status-progress--GridTemplateColumns);
|
|
16910
|
+
gap: var(--pf-c-multiple-file-upload__status-progress--Gap);
|
|
16911
|
+
}
|
|
16912
|
+
|
|
16913
|
+
.pf-c-multiple-file-upload__status-progress-icon {
|
|
16914
|
+
color: var(--pf-c-multiple-file-upload__status-progress-icon--Color);
|
|
16915
|
+
}
|
|
16916
|
+
|
|
16917
|
+
.pf-c-multiple-file-upload__status-item {
|
|
16918
|
+
display: grid;
|
|
16919
|
+
grid-template-columns: var(--pf-c-multiple-file-upload__status-item--GridTemplateColumns);
|
|
16920
|
+
gap: var(--pf-c-multiple-file-upload__status-item--Gap);
|
|
16921
|
+
padding-top: var(--pf-c-multiple-file-upload__status-item--PaddingTop);
|
|
16922
|
+
padding-bottom: var(--pf-c-multiple-file-upload__status-item--PaddingBottom);
|
|
16923
|
+
border-bottom: var(--pf-c-multiple-file-upload__status-item--BorderWidth) solid var(--pf-c-multiple-file-upload__status-item--BorderColor);
|
|
16924
|
+
}
|
|
16925
|
+
|
|
16926
|
+
.pf-c-multiple-file-upload__status-item:first-child {
|
|
16927
|
+
--pf-c-multiple-file-upload__status-item--PaddingTop: var(--pf-c-multiple-file-upload__status-item--first-child--PaddingTop);
|
|
16928
|
+
}
|
|
16929
|
+
|
|
16930
|
+
.pf-c-multiple-file-upload__status-item-icon {
|
|
16931
|
+
color: var(--pf-c-multiple-file-upload__status-item-icon--Color);
|
|
16932
|
+
}
|
|
16933
|
+
|
|
16934
|
+
.pf-c-multiple-file-upload__status-item-close {
|
|
16935
|
+
margin-top: var(--pf-c-multiple-file-upload__status-item-close--MarginTop);
|
|
16936
|
+
}
|
|
16937
|
+
|
|
16938
|
+
.pf-c-multiple-file-upload__status-item-progress {
|
|
16939
|
+
display: grid;
|
|
16940
|
+
grid-template-columns: var(--pf-c-multiple-file-upload__status-item-progress--GridTemplateColumns);
|
|
16941
|
+
gap: var(--pf-c-multiple-file-upload__status-item-progress--Gap);
|
|
16942
|
+
}
|
|
16943
|
+
|
|
16944
|
+
.pf-c-multiple-file-upload__status-item-progress-text {
|
|
16945
|
+
color: var(--pf-c-multiple-file-upload__status-item-progress-text--Color);
|
|
16946
|
+
}
|
|
16947
|
+
|
|
16948
|
+
.pf-c-multiple-file-upload__status-item-progress-size {
|
|
16949
|
+
color: var(--pf-c-multiple-file-upload__status-item-progress-size--Color);
|
|
16950
|
+
}
|
|
16951
|
+
|
|
16758
16952
|
.pf-c-nav {
|
|
16759
16953
|
--pf-c-nav--Transition: var(--pf-global--Transition);
|
|
16760
16954
|
--pf-c-nav--m-light__item--before--BorderColor: var(--pf-global--BorderColor--300);
|
|
@@ -17769,16 +17963,6 @@ ul.pf-c-list {
|
|
|
17769
17963
|
left: 0;
|
|
17770
17964
|
}
|
|
17771
17965
|
|
|
17772
|
-
.pf-l-bullseye {
|
|
17773
|
-
--pf-l-bullseye--Padding: 0;
|
|
17774
|
-
display: flex;
|
|
17775
|
-
align-items: center;
|
|
17776
|
-
justify-content: center;
|
|
17777
|
-
height: 100%;
|
|
17778
|
-
padding: var(--pf-l-bullseye--Padding);
|
|
17779
|
-
margin: 0;
|
|
17780
|
-
}
|
|
17781
|
-
|
|
17782
17966
|
.pf-c-notification-badge {
|
|
17783
17967
|
--pf-c-notification-badge--PaddingTop: var(--pf-global--spacer--form-element);
|
|
17784
17968
|
--pf-c-notification-badge--PaddingRight: var(--pf-global--spacer--md);
|