Skip to content

Commit

Permalink
chore(deps): upgrade react-theming peerDependencies to allow v7 (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Green authored Oct 17, 2019
1 parent d2205da commit 4e7d085
Show file tree
Hide file tree
Showing 21 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion packages/.template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"classnames": "^2.2.5"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/avatars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"classnames": "^2.2.5"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/breadcrumbs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"start": "../../utils/scripts/start.sh"
},
"dependencies": {
"@zendeskgarden/container-breadcrumb": "^0.2.2",
"@zendeskgarden/container-breadcrumb": "^0.3.0",
"classnames": "^2.2.5"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/buttons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"classnames": "^2.2.5"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/chrome/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"start": "../../utils/scripts/start.sh"
},
"dependencies": {
"@zendeskgarden/container-accordion": "^0.2.0",
"@zendeskgarden/container-accordion": "^0.3.1",
"@zendeskgarden/container-keyboardfocus": "^0.2.6",
"@zendeskgarden/container-utilities": "^0.3.0",
"classnames": "^2.2.5"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/datepickers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"react-popper": "^1.3.4"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dropdowns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"react-popper": "^1.3.4"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.4",
"react-dom": "^16.8.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"lodash.debounce": "^4.0.8"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"classnames": "^2.2.5"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/loaders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"polished": "^3.4.1"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand All @@ -44,6 +44,6 @@
"access": "public"
},
"zendeskgarden:library": "GardenLoaders",
"zendeskgarden:max_size": "9.5 kB",
"zendeskgarden:max_size": "9.75 kB",
"zendeskgarden:src": "src/index.js"
}
2 changes: 1 addition & 1 deletion packages/modals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dom-helpers": "^5.1.0"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"classnames": "^2.2.5"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"classnames": "^2.2.5"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/selection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dom-helpers": "^5.1.0"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/tables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"dom-helpers": "^5.1.0"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/tables/src/examples/paginated-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const getPagedData = (data, currentPage, pageSize) => {
<Pagination
totalPages={Math.floor(data.length / state.pageSize)}
currentPage={state.currentPage}
onStateChange={setState}
onChange={currentPage => setState({ currentPage })}
/>
</div>;
```
4 changes: 2 additions & 2 deletions packages/tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"start": "../../utils/scripts/start.sh"
},
"dependencies": {
"@zendeskgarden/container-tabs": "^0.2.5",
"@zendeskgarden/container-tabs": "^0.3.1",
"@zendeskgarden/container-utilities": "^0.3.0",
"classnames": "^2.2.5"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/tabs/src/elements/Tabs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('Tabs', () => {
<TabPanel>Invalid panel</TabPanel>
</Tabs>
);
}).toThrow('Accessibility Error: You must provide an "item" option to "getItemProps()"');
}).toThrow('Accessibility Error: You must provide an "item" option to "getTabProps()"');

console.error = originalError;
});
Expand Down
2 changes: 1 addition & 1 deletion packages/tags/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"classnames": "^2.2.5"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/tooltips/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"react-popper": "^1.3.4"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/typography/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@zendeskgarden/css-variables": "^6.3.8"
},
"peerDependencies": {
"@zendeskgarden/react-theming": "^6.0.0",
"@zendeskgarden/react-theming": "^6.0.0 || ^7.0.0",
"prop-types": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down

0 comments on commit 4e7d085

Please sign in to comment.