diff --git a/koku-ui-manifest b/koku-ui-manifest index 11b7d89ab..eb3613024 100644 --- a/koku-ui-manifest +++ b/koku-ui-manifest @@ -116,22 +116,22 @@ mgmt_services/cost-mgmt:koku-ui/@nodelib/fs.scandir:2.1.5.yarnlock mgmt_services/cost-mgmt:koku-ui/@nodelib/fs.stat:2.0.5.yarnlock mgmt_services/cost-mgmt:koku-ui/@nodelib/fs.stat:2.0.5.yarnlock mgmt_services/cost-mgmt:koku-ui/@nodelib/fs.walk:1.2.8.yarnlock -mgmt_services/cost-mgmt:koku-ui/@patternfly/patternfly:4.151.4.yarnlock -mgmt_services/cost-mgmt:koku-ui/@patternfly/react-charts:6.21.9.yarnlock -mgmt_services/cost-mgmt:koku-ui/@patternfly/react-core:4.168.9.yarnlock -mgmt_services/cost-mgmt:koku-ui/@patternfly/react-icons:4.19.9.yarnlock -mgmt_services/cost-mgmt:koku-ui/@patternfly/react-styles:4.18.9.yarnlock -mgmt_services/cost-mgmt:koku-ui/@patternfly/react-table:4.37.9.yarnlock -mgmt_services/cost-mgmt:koku-ui/@patternfly/react-tokens:4.20.9.yarnlock +mgmt_services/cost-mgmt:koku-ui/@patternfly/patternfly:4.159.1.yarnlock +mgmt_services/cost-mgmt:koku-ui/@patternfly/react-charts:6.28.4.yarnlock +mgmt_services/cost-mgmt:koku-ui/@patternfly/react-core:4.175.4.yarnlock +mgmt_services/cost-mgmt:koku-ui/@patternfly/react-icons:4.26.4.yarnlock +mgmt_services/cost-mgmt:koku-ui/@patternfly/react-styles:4.25.4.yarnlock +mgmt_services/cost-mgmt:koku-ui/@patternfly/react-table:4.44.4.yarnlock +mgmt_services/cost-mgmt:koku-ui/@patternfly/react-tokens:4.27.4.yarnlock mgmt_services/cost-mgmt:koku-ui/@popperjs/core:2.10.2.yarnlock -mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/frontend-components-config-utilities:1.5.1.yarnlock -mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/frontend-components-notifications:3.2.4.yarnlock +mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/frontend-components-config-utilities:1.5.6.yarnlock +mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/frontend-components-notifications:3.2.5.yarnlock mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/frontend-components-translations:3.2.3.yarnlock mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/frontend-components-utilities:3.2.5.yarnlock mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/frontend-components-utilities:3.2.5.yarnlock mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/frontend-components-utilities:3.2.5.yarnlock -mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/frontend-components:3.4.11.yarnlock -mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/rbac-client:1.0.101.yarnlock +mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/frontend-components:3.5.1.yarnlock +mgmt_services/cost-mgmt:koku-ui/@redhat-cloud-services/rbac-client:1.0.103.yarnlock mgmt_services/cost-mgmt:koku-ui/@restart/context:2.1.4.yarnlock mgmt_services/cost-mgmt:koku-ui/@restart/hooks:0.3.27.yarnlock mgmt_services/cost-mgmt:koku-ui/@restart/hooks:0.3.27.yarnlock diff --git a/package.json b/package.json index e74d4671f..ab0cf597f 100644 --- a/package.json +++ b/package.json @@ -37,18 +37,18 @@ "dependencies": { "@formatjs/cli": "4.2.12", "@fortawesome/free-solid-svg-icons": "5.15.2", - "@patternfly/patternfly": "^4.151.4", - "@patternfly/react-charts": "^6.21.9", - "@patternfly/react-core": "^4.168.9", - "@patternfly/react-icons": "^4.19.9", - "@patternfly/react-styles": "^4.18.9", - "@patternfly/react-table": "^4.37.9", - "@patternfly/react-tokens": "^4.20.9", - "@redhat-cloud-services/frontend-components": "^3.4.11", - "@redhat-cloud-services/frontend-components-notifications": "^3.2.4", + "@patternfly/patternfly": "^4.159.1", + "@patternfly/react-charts": "^6.28.4", + "@patternfly/react-core": "^4.175.4", + "@patternfly/react-icons": "^4.26.4", + "@patternfly/react-styles": "^4.25.4", + "@patternfly/react-table": "^4.44.4", + "@patternfly/react-tokens": "^4.27.4", + "@redhat-cloud-services/frontend-components": "^3.5.1", + "@redhat-cloud-services/frontend-components-notifications": "^3.2.5", "@redhat-cloud-services/frontend-components-translations": "^3.2.3", "@redhat-cloud-services/frontend-components-utilities": "^3.2.5", - "@redhat-cloud-services/rbac-client": "^1.0.101", + "@redhat-cloud-services/rbac-client": "^1.0.103", "@types/date-fns": "2.6.0", "@types/qs": "6.9.5", "@types/react": "17.0.2", @@ -79,7 +79,7 @@ }, "devDependencies": { "@formatjs/cli": "4.2.12", - "@redhat-cloud-services/frontend-components-config-utilities": "^1.5.1", + "@redhat-cloud-services/frontend-components-config-utilities": "^1.5.6", "@testing-library/react": "11.2.5", "@types/enzyme": "3.10.8", "@types/jest": "26.0.20", diff --git a/src/pages/costModels/components/priceListToolbar.tsx b/src/pages/costModels/components/priceListToolbar.tsx index f605ebfb3..063c76796 100644 --- a/src/pages/costModels/components/priceListToolbar.tsx +++ b/src/pages/costModels/components/priceListToolbar.tsx @@ -5,7 +5,9 @@ import { ToolbarGroup, ToolbarItem, ToolbarItemVariant, + ToolbarToggleGroup, } from '@patternfly/react-core'; +import { FilterIcon } from '@patternfly/react-icons/dist/esm/icons/filter-icon'; import React from 'react'; import { styles } from './priceListToolbar.styles'; @@ -35,18 +37,24 @@ export const PriceListToolbar: React.SFC = ({ return ( - - {primary} - {secondaries.map(secondary => { - return ( - - - {selected === secondary.name ? secondary.component : ''} - - - ); - })} - + }> + + {primary} + {secondaries.map(secondary => { + return ( + + + {selected === secondary.name ? secondary.component : ''} + + + ); + })} + + {button} {pagination} diff --git a/src/pages/costModels/costModel/assignSourcesModalToolbar.tsx b/src/pages/costModels/costModel/assignSourcesModalToolbar.tsx index 277653b22..ad28c8b97 100644 --- a/src/pages/costModels/costModel/assignSourcesModalToolbar.tsx +++ b/src/pages/costModels/costModel/assignSourcesModalToolbar.tsx @@ -8,7 +8,9 @@ import { ToolbarContent, ToolbarFilter, ToolbarItem, + ToolbarToggleGroup, } from '@patternfly/react-core'; +import { FilterIcon } from '@patternfly/react-icons/dist/esm/icons/filter-icon'; import { SearchIcon } from '@patternfly/react-icons/dist/esm/icons/search-icon'; import messages from 'locales/messages'; import React from 'react'; @@ -64,11 +66,16 @@ export const AssignSourcesToolbarBase: React.SFC return ( - - - - - + }> + + + + + + = ({ return ( - - - - - + }> + + + + + +