Skip to content

Commit 7698852

Browse files
authored
chore(repo): bump core to 2.70.1 (#3964)
* chore(repo): bump core to 2.70.1 * add img alt for cardview demo
1 parent 5bd89b9 commit 7698852

File tree

16 files changed

+122
-86
lines changed

16 files changed

+122
-86
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
"generate": "yarn plop",
7676
"lint:md": "yarn eslint packages --ext md --no-eslintrc --config .eslintrc-md.json --cache",
7777
"lint:ts": "node --max-old-space-size=4096 node_modules/.bin/eslint packages --ext js,jsx,ts,tsx --cache",
78-
"lint:versions": "node ./scripts/verifyCoreVersions.js",
79-
"prettier": "node node_modules/.bin/prettier --write \"packages/**/*.{js,ts,tsx}\" \"scripts/**/*.{js,ts,tsx}\"",
78+
"lint:versions": "node scripts/verifyPatternflyVersions.js",
79+
"prettier": "node node_modules/.bin/prettier --write \"packages/**/*.{js,jsx,ts,tsx}\" \"scripts/**/*.{js,jsx,ts,tsx}\"",
8080
"serve:docs": "lerna run serve",
8181
"serve:integration": "lerna run serve:demo-app",
8282
"start": "yarn build && lerna run develop --parallel --stream",

packages/react-catalog-view-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"develop": "yarn build:babel:esm --skip-initial-build --watch --verbose --source-maps"
4141
},
4242
"dependencies": {
43-
"@patternfly/patternfly": "2.68.3",
43+
"@patternfly/patternfly": "2.70.1",
4444
"@patternfly/react-core": "^3.149.1",
4545
"@patternfly/react-styles": "^3.7.9",
4646
"classnames": "^2.2.5",

packages/react-charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"homepage": "https://github.com/patternfly/patternfly-react#readme",
3131
"dependencies": {
32-
"@patternfly/patternfly": "2.68.3",
32+
"@patternfly/patternfly": "2.70.1",
3333
"@patternfly/react-styles": "^3.7.9",
3434
"@patternfly/react-tokens": "^2.8.9",
3535
"hoist-non-react-statics": "^3.3.0",

packages/react-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"@babel/plugin-transform-typescript": "^7.0.0",
5959
"@babel/preset-env": "^7.0.0",
6060
"@babel/preset-react": "^7.0.0",
61-
"@patternfly/patternfly": "2.68.3",
61+
"@patternfly/patternfly": "2.70.1",
6262
"@types/exenv": "^1.2.0",
6363
"@types/jest": "^24.0.11",
6464
"@types/react": "^16.4.0",

packages/react-core/src/demos/CardView/examples/CardView.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,40 @@ experimentalStage: 'early'
66

77
import React from 'react';
88
import {
9-
Avatar,
10-
Brand,
11-
Button,
12-
ButtonVariant,
13-
Card,
14-
CardHead,
15-
CardActions,
16-
CardHeader,
17-
CardBody,
18-
Checkbox,
19-
Dropdown,
20-
DropdownToggle,
21-
DropdownItem,
22-
DropdownSeparator,
23-
DropdownPosition,
24-
DropdownDirection,
25-
Gallery,
26-
GalleryItem,
27-
KebabToggle,
28-
Nav,
29-
NavItem,
30-
NavList,
31-
NavVariants,
32-
Page,
33-
PageHeader,
34-
PageSection,
35-
PageSectionVariants,
36-
PageSidebar,
37-
SkipToContent,
38-
TextContent,
39-
Text,
40-
Toolbar,
41-
ToolbarGroup,
42-
ToolbarItem
9+
Avatar,
10+
Brand,
11+
Button,
12+
ButtonVariant,
13+
Card,
14+
CardHead,
15+
CardActions,
16+
CardHeader,
17+
CardBody,
18+
Checkbox,
19+
Dropdown,
20+
DropdownToggle,
21+
DropdownItem,
22+
DropdownSeparator,
23+
DropdownPosition,
24+
DropdownDirection,
25+
Gallery,
26+
GalleryItem,
27+
KebabToggle,
28+
Nav,
29+
NavItem,
30+
NavList,
31+
NavVariants,
32+
Page,
33+
PageHeader,
34+
PageSection,
35+
PageSectionVariants,
36+
PageSidebar,
37+
SkipToContent,
38+
TextContent,
39+
Text,
40+
Toolbar,
41+
ToolbarGroup,
42+
ToolbarItem
4343
} from '@patternfly/react-core';
4444
import accessibleStyles from '@patternfly/react-styles/css/utilities/Accessibility/accessibility';
4545
import spacingStyles from '@patternfly/react-styles/css/utilities/Spacing/spacing';
@@ -720,7 +720,7 @@ class CardViewBasic extends React.Component {
720720
<React.Fragment>
721721
<Card isHoverable key={key}>
722722
<CardHead>
723-
<img src={icons[product.icon]} style={{ height: '50px' }} />
723+
<img src={icons[product.icon]} alt={`${product.name} icon`} style={{ height: '50px' }} />
724724
<CardActions>
725725
<Dropdown
726726
isPlain

packages/react-docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"dependencies": {
1818
"@mdx-js/mdx": "^1.1.5",
1919
"@mdx-js/react": "^1.1.5",
20-
"@patternfly/patternfly": "2.68.3",
20+
"@patternfly/patternfly": "2.70.1",
2121
"@patternfly/react-catalog-view-extension": "^1.4.39",
2222
"@patternfly/react-charts": "^5.3.15",
2323
"@patternfly/react-core": "^3.149.1",

packages/react-icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@babel/preset-react": "^7.0.0",
4343
"@fortawesome/free-regular-svg-icons": "^5.7.2",
4444
"@fortawesome/free-solid-svg-icons": "^5.7.2",
45-
"@patternfly/patternfly": "2.68.3",
45+
"@patternfly/patternfly": "2.70.1",
4646
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
4747
"babel-plugin-typescript-to-proptypes": "^0.17.1",
4848
"fs-extra": "^6.0.1",

packages/react-inline-edit-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://github.com/patternfly/patternfly-react/tree/master/packages/patternfly-4/",
2929
"dependencies": {
30-
"@patternfly/patternfly": "2.68.3",
30+
"@patternfly/patternfly": "2.70.1",
3131
"@patternfly/react-core": "^3.149.1",
3232
"@patternfly/react-icons": "^3.15.12",
3333
"@patternfly/react-styles": "^3.7.9",

packages/react-styles/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@babel/plugin-transform-typescript": "^7.0.0",
4343
"@babel/preset-env": "^7.0.0",
4444
"@babel/preset-react": "^7.0.0",
45-
"@patternfly/patternfly": "2.68.3",
45+
"@patternfly/patternfly": "2.70.1",
4646
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
4747
"babel-plugin-typescript-to-proptypes": "^0.17.1",
4848
"fbjs-scripts": "^0.8.3",

packages/react-table/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://github.com/patternfly/patternfly-react/tree/master/packages/react-table#readme",
2929
"dependencies": {
30-
"@patternfly/patternfly": "2.68.3",
30+
"@patternfly/patternfly": "2.70.1",
3131
"@patternfly/react-core": "^3.149.1",
3232
"@patternfly/react-icons": "^3.15.12",
3333
"@patternfly/react-styles": "^3.7.9",

0 commit comments

Comments
 (0)