Skip to content

Commit

Permalink
fix(build): pf, platform npm updates (RedHatInsights#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Apr 28, 2021
1 parent 1a156e1 commit bec1357
Show file tree
Hide file tree
Showing 22 changed files with 262 additions and 217 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,16 @@
"test:local": "react-scripts test --env=jsdom --roots=./src"
},
"dependencies": {
"@patternfly/patternfly": "4.80.3",
"@patternfly/react-charts": "6.14.2",
"@patternfly/react-core": "4.90.2",
"@patternfly/react-icons": "4.8.4",
"@patternfly/react-styles": "4.7.29",
"@patternfly/react-table": "4.20.15",
"@patternfly/react-tokens": "4.9.26",
"@redhat-cloud-services/frontend-components": "3.0.6",
"@redhat-cloud-services/frontend-components-notifications": "3.0.3",
"@redhat-cloud-services/frontend-components-utilities": "3.0.3",
"@patternfly/patternfly": "4.102.2",
"@patternfly/react-charts": "6.14.17",
"@patternfly/react-core": "4.115.2",
"@patternfly/react-icons": "4.10.2",
"@patternfly/react-styles": "4.10.2",
"@patternfly/react-table": "4.26.7",
"@patternfly/react-tokens": "4.11.3",
"@redhat-cloud-services/frontend-components": "3.1.10",
"@redhat-cloud-services/frontend-components-notifications": "3.1.0",
"@redhat-cloud-services/frontend-components-utilities": "3.1.2",
"axios": "^0.21.1",
"classnames": "^2.3.1",
"i18next": "^20.2.2",
Expand All @@ -148,7 +148,7 @@
"redux-promise-middleware": "^6.1.2",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"victory-create-container": "^35.4.11"
"victory-create-container": "^35.5.1"
},
"devDependencies": {
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.1",
Expand Down
4 changes: 2 additions & 2 deletions src/components/authentication/authentication.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { BinocularsIcon } from '@patternfly/react-icons';
import { Maintenance } from '@redhat-cloud-services/frontend-components/components/Maintenance';
import { NotAuthorized } from '@redhat-cloud-services/frontend-components/components/NotAuthorized';
import { Maintenance } from '@redhat-cloud-services/frontend-components/Maintenance';
import { NotAuthorized } from '@redhat-cloud-services/frontend-components/NotAuthorized';
import { connectRouter, reduxActions, reduxSelectors } from '../../redux';
import { rhsmApiTypes } from '../../types';
import { helpers } from '../../common';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports[`Checkbox Component should handle children as a label: children label ch

exports[`Checkbox Component should handle readOnly, disabled, checked: active 1`] = `
<div
class="pf-c-check"
class="pf-c-check pf-m-standalone"
>
<input
aria-invalid="false"
Expand All @@ -40,7 +40,7 @@ exports[`Checkbox Component should handle readOnly, disabled, checked: active 1`

exports[`Checkbox Component should handle readOnly, disabled, checked: checked 1`] = `
<div
class="pf-c-check"
class="pf-c-check pf-m-standalone"
>
<input
aria-invalid="false"
Expand All @@ -56,7 +56,7 @@ exports[`Checkbox Component should handle readOnly, disabled, checked: checked 1

exports[`Checkbox Component should handle readOnly, disabled, checked: disabled 1`] = `
<div
class="pf-c-check"
class="pf-c-check pf-m-standalone"
>
<input
aria-invalid="false"
Expand All @@ -73,7 +73,7 @@ exports[`Checkbox Component should handle readOnly, disabled, checked: disabled

exports[`Checkbox Component should handle readOnly, disabled, checked: readOnly 1`] = `
<div
class="pf-c-check"
class="pf-c-check pf-m-standalone"
>
<input
aria-invalid="false"
Expand All @@ -90,7 +90,7 @@ exports[`Checkbox Component should handle readOnly, disabled, checked: readOnly

exports[`Checkbox Component should render a basic component: basic component 1`] = `
<div
class="pf-c-check"
class="pf-c-check pf-m-standalone"
>
<input
aria-invalid="false"
Expand Down
28 changes: 28 additions & 0 deletions src/components/form/__tests__/__snapshots__/select.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ exports[`Select Component should allow alternate array and object options: strin

exports[`Select Component should allow alternate direction and position options: direction up 1`] = `
<Select
aria-describedby=""
aria-invalid={false}
aria-label="Select option"
aria-labelledby=""
chipGroupComponent={null}
Expand Down Expand Up @@ -119,6 +121,7 @@ exports[`Select Component should allow alternate direction and position options:
onFilter={null}
onSelect={[Function]}
onToggle={[Function]}
onTypeaheadInputChanged={null}
ouiaSafe={true}
placeholderText="Select option"
removeSelectionAriaLabel="Remove"
Expand All @@ -127,6 +130,7 @@ exports[`Select Component should allow alternate direction and position options:
toggleIcon={null}
toggleId={null}
typeAheadAriaLabel=""
validated="default"
variant="single"
width=""
>
Expand Down Expand Up @@ -175,6 +179,8 @@ exports[`Select Component should allow alternate direction and position options:

exports[`Select Component should allow alternate direction and position options: position right 1`] = `
<Select
aria-describedby=""
aria-invalid={false}
aria-label="Select option"
aria-labelledby=""
chipGroupComponent={null}
Expand Down Expand Up @@ -202,6 +208,7 @@ exports[`Select Component should allow alternate direction and position options:
onFilter={null}
onSelect={[Function]}
onToggle={[Function]}
onTypeaheadInputChanged={null}
ouiaSafe={true}
placeholderText="Select option"
removeSelectionAriaLabel="Remove"
Expand All @@ -210,6 +217,7 @@ exports[`Select Component should allow alternate direction and position options:
toggleIcon={null}
toggleId={null}
typeAheadAriaLabel=""
validated="default"
variant="single"
width=""
>
Expand Down Expand Up @@ -258,6 +266,8 @@ exports[`Select Component should allow alternate direction and position options:

exports[`Select Component should allow being disabled with missing options: no options 1`] = `
<Select
aria-describedby=""
aria-invalid={false}
aria-label="Select option"
aria-labelledby=""
chipGroupComponent={null}
Expand Down Expand Up @@ -285,6 +295,7 @@ exports[`Select Component should allow being disabled with missing options: no o
onFilter={null}
onSelect={[Function]}
onToggle={[Function]}
onTypeaheadInputChanged={null}
ouiaSafe={true}
placeholderText="Select option"
removeSelectionAriaLabel="Remove"
Expand All @@ -293,13 +304,16 @@ exports[`Select Component should allow being disabled with missing options: no o
toggleIcon={null}
toggleId={null}
typeAheadAriaLabel=""
validated="default"
variant="single"
width=""
/>
`;

exports[`Select Component should allow being disabled with missing options: options, but disabled 1`] = `
<Select
aria-describedby=""
aria-invalid={false}
aria-label="Select option"
aria-labelledby=""
chipGroupComponent={null}
Expand Down Expand Up @@ -327,6 +341,7 @@ exports[`Select Component should allow being disabled with missing options: opti
onFilter={null}
onSelect={[Function]}
onToggle={[Function]}
onTypeaheadInputChanged={null}
ouiaSafe={true}
placeholderText="Select option"
removeSelectionAriaLabel="Remove"
Expand All @@ -335,6 +350,7 @@ exports[`Select Component should allow being disabled with missing options: opti
toggleIcon={null}
toggleId={null}
typeAheadAriaLabel=""
validated="default"
variant="single"
width=""
>
Expand Down Expand Up @@ -423,6 +439,8 @@ exports[`Select Component should allow being disabled with missing options: opti

exports[`Select Component should allow being disabled with missing options: options, but no content 1`] = `
<Select
aria-describedby=""
aria-invalid={false}
aria-label="Select option"
aria-labelledby=""
chipGroupComponent={null}
Expand Down Expand Up @@ -450,6 +468,7 @@ exports[`Select Component should allow being disabled with missing options: opti
onFilter={null}
onSelect={[Function]}
onToggle={[Function]}
onTypeaheadInputChanged={null}
ouiaSafe={true}
placeholderText="Select option"
removeSelectionAriaLabel="Remove"
Expand All @@ -458,6 +477,7 @@ exports[`Select Component should allow being disabled with missing options: opti
toggleIcon={null}
toggleId={null}
typeAheadAriaLabel=""
validated="default"
variant="single"
width=""
/>
Expand Down Expand Up @@ -563,6 +583,8 @@ exports[`Select Component should allow selected options to match value or title:

exports[`Select Component should disable toggle text: disabled text 1`] = `
<Select
aria-describedby=""
aria-invalid={false}
aria-label="Select option"
aria-labelledby=""
chipGroupComponent={null}
Expand Down Expand Up @@ -590,6 +612,7 @@ exports[`Select Component should disable toggle text: disabled text 1`] = `
onFilter={null}
onSelect={[Function]}
onToggle={[Function]}
onTypeaheadInputChanged={null}
ouiaSafe={true}
placeholderText="Select option"
removeSelectionAriaLabel="Remove"
Expand All @@ -604,6 +627,7 @@ exports[`Select Component should disable toggle text: disabled text 1`] = `
}
toggleId={null}
typeAheadAriaLabel=""
validated="default"
variant="single"
width=""
>
Expand Down Expand Up @@ -774,6 +798,8 @@ exports[`Select Component should render a expanded select: expanded 1`] = `
variant="single"
>
<Select
aria-describedby=""
aria-invalid={false}
aria-label="Select option"
aria-labelledby=""
chipGroupComponent={null}
Expand Down Expand Up @@ -801,6 +827,7 @@ exports[`Select Component should render a expanded select: expanded 1`] = `
onFilter={null}
onSelect={[Function]}
onToggle={[Function]}
onTypeaheadInputChanged={null}
ouiaSafe={true}
placeholderText="Select option"
removeSelectionAriaLabel="Remove"
Expand All @@ -809,6 +836,7 @@ exports[`Select Component should render a expanded select: expanded 1`] = `
toggleIcon={null}
toggleId={null}
typeAheadAriaLabel=""
validated="default"
variant="single"
width=""
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/inventoryList/inventoryList.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import _isEqual from 'lodash/isEqual';
import { SortByDirection, TableVariant } from '@patternfly/react-table';
import { Bullseye, Card, CardActions, CardBody, CardFooter, CardHeader, CardHeaderMain } from '@patternfly/react-core';
import { TableToolbar } from '@redhat-cloud-services/frontend-components/components/TableToolbar';
import { TableToolbar } from '@redhat-cloud-services/frontend-components/TableToolbar';
import _camelCase from 'lodash/camelCase';
import { helpers } from '../../common';
import { connect, reduxActions, reduxSelectors, reduxTypes, store } from '../../redux';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import _isEqual from 'lodash/isEqual';
import { SortByDirection, TableVariant } from '@patternfly/react-table';
import { Bullseye, Card, CardActions, CardBody, CardFooter, CardHeader } from '@patternfly/react-core';
import { TableToolbar } from '@redhat-cloud-services/frontend-components/components/TableToolbar';
import { TableToolbar } from '@redhat-cloud-services/frontend-components/TableToolbar';
import _camelCase from 'lodash/camelCase';
import { helpers } from '../../common';
import { connect, reduxActions, reduxSelectors, reduxTypes, store } from '../../redux';
Expand Down
4 changes: 2 additions & 2 deletions src/components/loader/loader.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Skeleton, SkeletonSize } from '@redhat-cloud-services/frontend-components/components/Skeleton';
import { Spinner } from '@redhat-cloud-services/frontend-components/components/Spinner';
import { Skeleton, SkeletonSize } from '@redhat-cloud-services/frontend-components/Skeleton';
import { Spinner } from '@redhat-cloud-services/frontend-components/Spinner';
import { TableVariant } from '@patternfly/react-table';
import { PageHeader, PageLayout } from '../pageLayout/pageLayout';
import { TableSkeleton } from '../table/tableSkeleton';
Expand Down
5 changes: 1 addition & 4 deletions src/components/pageLayout/pageHeader.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import {
PageHeader as RcsPageHeader,
PageHeaderTitle
} from '@redhat-cloud-services/frontend-components/components/PageHeader';
import { PageHeader as RcsPageHeader, PageHeaderTitle } from '@redhat-cloud-services/frontend-components/PageHeader';
import { Button, Flex, FlexItem, Label as PfLabel } from '@patternfly/react-core';
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
import { helpers } from '../../common';
Expand Down
2 changes: 1 addition & 1 deletion src/components/pageLayout/pageMessages.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Section } from '@redhat-cloud-services/frontend-components/components/Section';
import { Section } from '@redhat-cloud-services/frontend-components/Section';

/**
* Render a platform toolbar section.
Expand Down
2 changes: 1 addition & 1 deletion src/components/pageLayout/pageSection.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Section } from '@redhat-cloud-services/frontend-components/components/Section';
import { Section } from '@redhat-cloud-services/frontend-components/Section';

/**
* Render a platform page section.
Expand Down
2 changes: 1 addition & 1 deletion src/components/pageLayout/pageToolbar.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Section } from '@redhat-cloud-services/frontend-components/components/Section';
import { Section } from '@redhat-cloud-services/frontend-components/Section';

/**
* Render a platform toolbar section.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ exports[`Pagination Component should render a non-connected component: non-conne
"currPage": "Current page",
"items": "",
"itemsPerPage": "Items per page",
"ofWord": "of",
"optionsToggle": "Items per page",
"page": "",
"paginationTitle": "Pagination",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from '@patternfly/react-tokens';
import { Button, Label as PfLabel, Tooltip, TooltipPosition } from '@patternfly/react-core';
import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
import { DateFormat } from '@redhat-cloud-services/frontend-components/components/DateFormat';
import { DateFormat } from '@redhat-cloud-services/frontend-components/DateFormat';
import moment from 'moment';
import numbro from 'numbro';
import { PageLayout, PageColumns, PageHeader, PageSection, PageToolbar } from '../pageLayout/pageLayout';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
chart_color_blue_300 as chartColorBlueDark
} from '@patternfly/react-tokens';
import { Label as PfLabel } from '@patternfly/react-core';
import { DateFormat } from '@redhat-cloud-services/frontend-components/components/DateFormat';
import { DateFormat } from '@redhat-cloud-services/frontend-components/DateFormat';
import numbro from 'numbro';
import {
RHSM_API_QUERY_SORT_DIRECTION_TYPES as SORT_DIRECTION_TYPES,
Expand Down
2 changes: 1 addition & 1 deletion src/components/productView/productViewRhel.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
chart_color_purple_300 as chartColorPurpleDark
} from '@patternfly/react-tokens';
import { Button, Label as PfLabel } from '@patternfly/react-core';
import { DateFormat } from '@redhat-cloud-services/frontend-components/components/DateFormat';
import { DateFormat } from '@redhat-cloud-services/frontend-components/DateFormat';
import moment from 'moment';
import {
RHSM_API_QUERY_SORT_DIRECTION_TYPES as SORT_DIRECTION_TYPES,
Expand Down
2 changes: 1 addition & 1 deletion src/components/productView/productViewSatellite.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
chart_color_purple_300 as chartColorPurpleDark
} from '@patternfly/react-tokens';
import { Button, Label as PfLabel } from '@patternfly/react-core';
import { DateFormat } from '@redhat-cloud-services/frontend-components/components/DateFormat';
import { DateFormat } from '@redhat-cloud-services/frontend-components/DateFormat';
import moment from 'moment';
import {
RHSM_API_QUERY_SORT_DIRECTION_TYPES as SORT_DIRECTION_TYPES,
Expand Down
Loading

0 comments on commit bec1357

Please sign in to comment.