Skip to content

Commit

Permalink
fix(build): npm updates (#767)
Browse files Browse the repository at this point in the history
* build, monthly, pf react-core tests updates
* inventoryList, expandable css, tables in columns
  • Loading branch information
cdcabrera committed Nov 30, 2021
1 parent ebf9196 commit aea6114
Show file tree
Hide file tree
Showing 8 changed files with 1,174 additions and 1,562 deletions.
56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,74 +75,74 @@
"test:local": "jest --roots=./src --watch"
},
"dependencies": {
"@patternfly/patternfly": "4.115.2",
"@patternfly/react-charts": "6.15.3",
"@patternfly/react-core": "4.135.0",
"@patternfly/react-icons": "4.11.0",
"@patternfly/react-styles": "4.11.0",
"@patternfly/react-table": "4.29.0",
"@patternfly/react-tokens": "4.12.0",
"@redhat-cloud-services/frontend-components": "3.3.4",
"@redhat-cloud-services/frontend-components-notifications": "3.2.2",
"@patternfly/patternfly": "4.125.3",
"@patternfly/react-charts": "6.15.14",
"@patternfly/react-core": "4.144.0",
"@patternfly/react-icons": "4.11.8",
"@patternfly/react-styles": "4.11.8",
"@patternfly/react-table": "4.29.37",
"@patternfly/react-tokens": "4.12.9",
"@redhat-cloud-services/frontend-components": "3.3.12",
"@redhat-cloud-services/frontend-components-notifications": "3.2.4",
"@redhat-cloud-services/frontend-components-utilities": "3.2.3",
"axios": "^0.21.1",
"classnames": "^2.3.1",
"i18next": "^20.3.2",
"i18next": "^20.4.0",
"i18next-xhr-backend": "^3.2.2",
"js-cookie": "^2.2.1",
"locale-code": "^2.0.2",
"lodash": "^4.17.21",
"lru-cache": "^6.0.0",
"moment": "^2.29.1",
"numbro": "^2.3.2",
"numbro": "^2.3.5",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^11.11.1",
"react-i18next": "^11.11.4",
"react-redux": "^7.2.4",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-use": "^17.2.4",
"redux": "^4.1.0",
"redux": "^4.1.1",
"redux-logger": "^3.0.6",
"redux-promise-middleware": "^6.1.2",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"victory": "^35.8.6",
"victory-create-container": "^35.8.5"
"victory": "35.10.1",
"victory-create-container": "35.10.1"
},
"devDependencies": {
"@babel/core": "7.14.0",
"@redhat-cloud-services/frontend-components-config": "4.3.2",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.2",
"apidoc-mock": "^4.0.0",
"@babel/core": "7.15.0",
"@redhat-cloud-services/frontend-components-config": "4.3.3",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
"apidoc-mock": "^4.0.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.0",
"babel-jest": "^27.0.6",
"babel-preset-react-app": "^10.0.0",
"copy-webpack-plugin": "^9.0.1",
"cspell": "^5.6.6",
"cspell": "^5.7.2",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"dotenv-webpack": "^7.0.3",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "7.31.0",
"eslint": "7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.8.2",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-flowtype": "^5.9.0",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jsdoc": "^35.4.5",
"eslint-plugin-json": "^3.0.0",
"eslint-plugin-jsdoc": "^36.0.7",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"express": "^4.17.1",
"glob": "^7.1.7",
"jest": "26.6.0",
"jest-resolve": "26.6.0",
"jest": "27.0.6",
"jest-resolve": "27.0.6",
"jest-watch-typeahead": "0.6.4",
"moxios": "^0.4.0",
"npm-run-all": "^4.1.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ exports[`Authentication Component should render a non-connected component error:
>
<h1
className="pf-c-title pf-m-2xl pf-u-mb-sm"
data-ouia-component-id="OUIA-Generated-Title-1"
data-ouia-component-type="PF4/Title"
data-ouia-safe={true}
widget-type="InsightsPageHeaderTitle"
>
Expand Down Expand Up @@ -204,6 +207,9 @@ exports[`Authentication Component should render a non-connected component error:
>
<h5
className="pf-c-title pf-m-lg"
data-ouia-component-id="OUIA-Generated-Title-2"
data-ouia-component-type="PF4/Title"
data-ouia-safe={true}
>
You do not have access to Subscriptions
</h5>
Expand Down
18 changes: 18 additions & 0 deletions src/components/form/__tests__/__snapshots__/checkbox.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ exports[`Checkbox Component should handle children as a label: children label ch
aria-invalid="false"
aria-label="lorem ipsum"
class="pf-c-check__input"
data-ouia-component-id="OUIA-Generated-Checkbox-3"
data-ouia-component-type="PF4/Checkbox"
data-ouia-safe="true"
id="generatedid-"
name="generatedid-"
type="checkbox"
Expand All @@ -30,6 +33,9 @@ exports[`Checkbox Component should handle readOnly, disabled, checked: active 1`
aria-invalid="false"
aria-label=""
class="pf-c-check__input"
data-ouia-component-id="OUIA-Generated-Checkbox-2"
data-ouia-component-type="PF4/Checkbox"
data-ouia-safe="true"
id="generatedid-"
name="generatedid-"
type="checkbox"
Expand All @@ -46,6 +52,9 @@ exports[`Checkbox Component should handle readOnly, disabled, checked: checked 1
aria-invalid="false"
aria-label=""
class="pf-c-check__input"
data-ouia-component-id="OUIA-Generated-Checkbox-2"
data-ouia-component-type="PF4/Checkbox"
data-ouia-safe="true"
id="generatedid-"
name="generatedid-"
type="checkbox"
Expand All @@ -62,6 +71,9 @@ exports[`Checkbox Component should handle readOnly, disabled, checked: disabled
aria-invalid="false"
aria-label=""
class="pf-c-check__input"
data-ouia-component-id="OUIA-Generated-Checkbox-2"
data-ouia-component-type="PF4/Checkbox"
data-ouia-safe="true"
disabled=""
id="generatedid-"
name="generatedid-"
Expand All @@ -79,6 +91,9 @@ exports[`Checkbox Component should handle readOnly, disabled, checked: readOnly
aria-invalid="false"
aria-label=""
class="pf-c-check__input"
data-ouia-component-id="OUIA-Generated-Checkbox-2"
data-ouia-component-type="PF4/Checkbox"
data-ouia-safe="true"
id="generatedid-"
name="generatedid-"
readonly=""
Expand All @@ -96,6 +111,9 @@ exports[`Checkbox Component should render a basic component: basic component 1`]
aria-invalid="false"
aria-label=""
class="pf-c-check__input"
data-ouia-component-id="OUIA-Generated-Checkbox-1"
data-ouia-component-type="PF4/Checkbox"
data-ouia-safe="true"
id="generatedid-"
name="generatedid-"
type="checkbox"
Expand Down
12 changes: 12 additions & 0 deletions src/components/form/__tests__/__snapshots__/textInput.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ exports[`TextInput Component should handle readOnly, disabled: active 1`] = `
<input
aria-invalid="false"
class="pf-c-form-control curiosity-text-input "
data-ouia-component-id="OUIA-Generated-TextInputBase-2"
data-ouia-component-type="PF4/TextInput"
data-ouia-safe="true"
id="generatedid-"
name="generatedid-"
type="text"
Expand All @@ -15,6 +18,9 @@ exports[`TextInput Component should handle readOnly, disabled: disabled 1`] = `
<input
aria-invalid="false"
class="pf-c-form-control curiosity-text-input "
data-ouia-component-id="OUIA-Generated-TextInputBase-2"
data-ouia-component-type="PF4/TextInput"
data-ouia-safe="true"
disabled=""
id="generatedid-"
name="generatedid-"
Expand All @@ -27,6 +33,9 @@ exports[`TextInput Component should handle readOnly, disabled: readOnly 1`] = `
<input
aria-invalid="false"
class="pf-c-form-control curiosity-text-input "
data-ouia-component-id="OUIA-Generated-TextInputBase-2"
data-ouia-component-type="PF4/TextInput"
data-ouia-safe="true"
id="generatedid-"
name="generatedid-"
readonly=""
Expand All @@ -39,6 +48,9 @@ exports[`TextInput Component should render a basic component: basic component 1`
<input
aria-invalid="false"
class="pf-c-form-control curiosity-text-input "
data-ouia-component-id="OUIA-Generated-TextInputBase-1"
data-ouia-component-type="PF4/TextInput"
data-ouia-safe="true"
id="generatedid-"
name="generatedid-"
type="text"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ exports[`PageHeader Component should render a basic component: basic 1`] = `
>
<h1
className="pf-c-title pf-m-2xl pf-u-mb-sm"
data-ouia-component-id="OUIA-Generated-Title-1"
data-ouia-component-type="PF4/Title"
data-ouia-safe={true}
widget-type="InsightsPageHeaderTitle"
>
Expand Down Expand Up @@ -106,6 +109,9 @@ exports[`PageHeader Component should render string node types: string 1`] = `
>
<h1
className="pf-c-title pf-m-2xl pf-u-mb-sm"
data-ouia-component-id="OUIA-Generated-Title-2"
data-ouia-component-type="PF4/Title"
data-ouia-safe={true}
widget-type="InsightsPageHeaderTitle"
>
Expand Down Expand Up @@ -165,6 +171,9 @@ exports[`PageHeader Component should render the subtitle when viewId is provided
>
<h1
className="pf-c-title pf-m-2xl pf-u-mb-sm"
data-ouia-component-id="OUIA-Generated-Title-3"
data-ouia-component-type="PF4/Title"
data-ouia-safe={true}
widget-type="InsightsPageHeaderTitle"
>
Expand Down Expand Up @@ -203,6 +212,9 @@ exports[`PageHeader Component should render the tour button when includeTour is
>
<h1
class="pf-c-title pf-m-2xl pf-u-mb-sm"
data-ouia-component-id="OUIA-Generated-Title-4"
data-ouia-component-type="PF4/Title"
data-ouia-safe="true"
widget-type="InsightsPageHeaderTitle"
>
lorem
Expand Down Expand Up @@ -271,6 +283,9 @@ exports[`PageHeader Component should render the tour button when includeTour is
>
<h1
className="pf-c-title pf-m-2xl pf-u-mb-sm"
data-ouia-component-id="OUIA-Generated-Title-4"
data-ouia-component-type="PF4/Title"
data-ouia-safe={true}
widget-type="InsightsPageHeaderTitle"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ exports[`PageLayout Component should render header and section children: multipl
>
<h1
className="pf-c-title pf-m-2xl pf-u-mb-sm"
data-ouia-component-id="OUIA-Generated-Title-1"
data-ouia-component-type="PF4/Title"
data-ouia-safe={true}
widget-type="InsightsPageHeaderTitle"
>
Expand Down
1 change: 1 addition & 0 deletions src/styles/_inventory-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@

.pf-c-button {
padding-left: var(--pf-c-table--m-compact--cell--first-last-child--xl--PaddingLeft);
padding-right: inherit;
}
}

Expand Down
Loading

0 comments on commit aea6114

Please sign in to comment.