@patternfly/react-data-view 5.7.0 → 5.7.1
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.
|
@@ -44,8 +44,8 @@ const DataViewToolbar = (_a) => {
|
|
|
44
44
|
return (react_1.default.createElement(react_core_1.Toolbar, Object.assign({ ouiaId: ouiaId, className: className, customChipGroupContent: customChipGroupContent !== null && customChipGroupContent !== void 0 ? customChipGroupContent : defaultClearFilters.current }, props),
|
|
45
45
|
react_1.default.createElement(react_core_1.ToolbarContent, null,
|
|
46
46
|
bulkSelect && (react_1.default.createElement(react_core_1.ToolbarItem, { "data-ouia-component-id": `${ouiaId}-bulk-select` }, bulkSelect)),
|
|
47
|
-
actions && (react_1.default.createElement(react_core_1.ToolbarItem, { variant: react_core_1.ToolbarItemVariant['overflow-menu'] }, actions)),
|
|
48
47
|
filters && (react_1.default.createElement(react_core_1.ToolbarItem, { variant: react_core_1.ToolbarItemVariant['search-filter'] }, filters)),
|
|
48
|
+
actions && (react_1.default.createElement(react_core_1.ToolbarItem, { variant: react_core_1.ToolbarItemVariant['overflow-menu'] }, actions)),
|
|
49
49
|
pagination && (react_1.default.createElement(react_core_1.ToolbarItem, { variant: react_core_1.ToolbarItemVariant.pagination, "data-ouia-component-id": `${ouiaId}-pagination` }, pagination)),
|
|
50
50
|
children)));
|
|
51
51
|
};
|
|
@@ -18,8 +18,8 @@ export const DataViewToolbar = (_a) => {
|
|
|
18
18
|
return (React.createElement(Toolbar, Object.assign({ ouiaId: ouiaId, className: className, customChipGroupContent: customChipGroupContent !== null && customChipGroupContent !== void 0 ? customChipGroupContent : defaultClearFilters.current }, props),
|
|
19
19
|
React.createElement(ToolbarContent, null,
|
|
20
20
|
bulkSelect && (React.createElement(ToolbarItem, { "data-ouia-component-id": `${ouiaId}-bulk-select` }, bulkSelect)),
|
|
21
|
-
actions && (React.createElement(ToolbarItem, { variant: ToolbarItemVariant['overflow-menu'] }, actions)),
|
|
22
21
|
filters && (React.createElement(ToolbarItem, { variant: ToolbarItemVariant['search-filter'] }, filters)),
|
|
22
|
+
actions && (React.createElement(ToolbarItem, { variant: ToolbarItemVariant['overflow-menu'] }, actions)),
|
|
23
23
|
pagination && (React.createElement(ToolbarItem, { variant: ToolbarItemVariant.pagination, "data-ouia-component-id": `${ouiaId}-pagination` }, pagination)),
|
|
24
24
|
children)));
|
|
25
25
|
};
|
package/package.json
CHANGED
|
@@ -35,16 +35,16 @@ export const DataViewToolbar: React.FC<DataViewToolbarProps> = ({ className, oui
|
|
|
35
35
|
{bulkSelect}
|
|
36
36
|
</ToolbarItem>
|
|
37
37
|
)}
|
|
38
|
-
{actions && (
|
|
39
|
-
<ToolbarItem variant={ToolbarItemVariant['overflow-menu']}>
|
|
40
|
-
{actions}
|
|
41
|
-
</ToolbarItem>
|
|
42
|
-
)}
|
|
43
38
|
{filters && (
|
|
44
39
|
<ToolbarItem variant={ToolbarItemVariant['search-filter']}>
|
|
45
40
|
{filters}
|
|
46
41
|
</ToolbarItem>
|
|
47
42
|
)}
|
|
43
|
+
{actions && (
|
|
44
|
+
<ToolbarItem variant={ToolbarItemVariant['overflow-menu']}>
|
|
45
|
+
{actions}
|
|
46
|
+
</ToolbarItem>
|
|
47
|
+
)}
|
|
48
48
|
{pagination && (
|
|
49
49
|
<ToolbarItem variant={ToolbarItemVariant.pagination} data-ouia-component-id={`${ouiaId}-pagination`}>
|
|
50
50
|
{pagination}
|