@patternfly/react-table 5.0.0-alpha.115 → 5.0.0-alpha.116
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 +6 -0
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/esm/components/Table/Table.js +1 -1
- package/dist/esm/components/Table/Table.js.map +1 -1
- package/dist/esm/components/Table/Td.d.ts +1 -1
- package/dist/esm/components/Table/Td.d.ts.map +1 -1
- package/dist/js/components/Table/Table.js +1 -1
- package/dist/js/components/Table/Table.js.map +1 -1
- package/dist/js/components/Table/Td.d.ts +1 -1
- package/dist/js/components/Table/Td.d.ts.map +1 -1
- package/dist/js/components/Table/package.json +1 -1
- package/dist/js/components/Table/utils/decorators/package.json +1 -1
- package/dist/js/components/Table/utils/package.json +1 -1
- package/dist/js/components/package.json +1 -1
- package/dist/js/deprecated/components/Table/base/package.json +1 -1
- package/dist/js/deprecated/components/Table/package.json +1 -1
- package/dist/js/deprecated/components/package.json +1 -1
- package/dist/js/deprecated/package.json +1 -1
- package/dist/js/package.json +1 -1
- package/dist/umd/react-table.min.js +4 -4
- package/package.json +4 -4
- package/src/components/Table/Table.tsx +1 -1
- package/src/components/Table/Td.tsx +1 -1
- package/src/components/Table/utils/transformers.test.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.116",
|
|
4
4
|
"description": "This library provides a set of React table components for use with the PatternFly 4",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"subpaths": "node scripts/createSubpaths.js"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@patternfly/react-core": "^5.0.0-alpha.
|
|
43
|
+
"@patternfly/react-core": "^5.0.0-alpha.114",
|
|
44
44
|
"@patternfly/react-icons": "^5.0.0-alpha.18",
|
|
45
|
-
"@patternfly/react-styles": "^5.0.0-alpha.
|
|
45
|
+
"@patternfly/react-styles": "^5.0.0-alpha.15",
|
|
46
46
|
"@patternfly/react-tokens": "^5.0.0-alpha.13",
|
|
47
47
|
"lodash": "^4.17.19",
|
|
48
48
|
"tslib": "^2.5.0"
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"react": "^17 || ^18",
|
|
56
56
|
"react-dom": "^17 || ^18"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "e427fe71225d9ffe5bfd1fea35dc369e8af36683"
|
|
59
59
|
}
|
|
@@ -157,7 +157,7 @@ const TableBase: React.FunctionComponent<TableProps> = ({
|
|
|
157
157
|
if (
|
|
158
158
|
isNested ||
|
|
159
159
|
!(tableRef && tableRef.current && tableRef.current.classList.contains('pf-m-tree-view')) || // implements roving tab-index to tree tables only
|
|
160
|
-
(tableRef && tableRef.current !== (event.target as HTMLElement).closest('.pf-c-table:not(.pf-m-nested)'))
|
|
160
|
+
(tableRef && tableRef.current !== (event.target as HTMLElement).closest('.pf-v5-c-table:not(.pf-m-nested)'))
|
|
161
161
|
) {
|
|
162
162
|
return;
|
|
163
163
|
}
|
|
@@ -50,7 +50,7 @@ export interface TdProps extends BaseCellProps, Omit<React.HTMLProps<HTMLTableDa
|
|
|
50
50
|
draggableRow?: TdDraggableType;
|
|
51
51
|
/** True to remove padding */
|
|
52
52
|
noPadding?: boolean;
|
|
53
|
-
/** Applies pf-c-table__action to td */
|
|
53
|
+
/** Applies pf-v5-c-table__action to td */
|
|
54
54
|
isActionCell?: boolean;
|
|
55
55
|
/**
|
|
56
56
|
* Tooltip to show on the body cell.
|
|
@@ -73,7 +73,7 @@ const testCellActions = async ({
|
|
|
73
73
|
const { container } = render(returnedData.children as React.ReactElement<any>);
|
|
74
74
|
await user.click(screen.getAllByRole('button')[0]);
|
|
75
75
|
await waitFor(() =>
|
|
76
|
-
expect(container.querySelectorAll('.pf-c-dropdown__menu li button')).toHaveLength(expectDisabled ? 0 : 1)
|
|
76
|
+
expect(container.querySelectorAll('.pf-v5-c-dropdown__menu li button')).toHaveLength(expectDisabled ? 0 : 1)
|
|
77
77
|
);
|
|
78
78
|
}
|
|
79
79
|
};
|