Skip to content

Commit

Permalink
Merge branch 'main' into test-toggle-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jnm2377 authored Nov 8, 2021
2 parents 352525c + c06edfa commit cbcbe7d
Show file tree
Hide file tree
Showing 80 changed files with 846 additions and 1,621 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion config/jest-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@babel/runtime": "^7.14.6",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.5",
"accessibility-checker": "^3.1.9",
"axe-core": "^4.3.2",
"babel-jest": "^27.0.6",
"chalk": "^4.1.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"jest-circus": "^27.0.6",
"jest-watch-typeahead": "^0.6.4"
Expand Down
2 changes: 1 addition & 1 deletion config/jest-config-carbon/setup/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ global.requestAnimationFrame = function requestAnimationFrame(callback) {
};

const enzyme = jest.requireActual('enzyme');
const Adapter = jest.requireActual('enzyme-adapter-react-16');
const Adapter = jest.requireActual('@wojtekmaj/enzyme-adapter-react-17');

enzyme.configure({ adapter: new Adapter() });

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"resolutions": {
"ast-types": "^0.14.0",
"node-sass": "^6.0.0",
"react": "~16.9.0",
"react-dom": "~16.9.0",
"react-is": "~16.9.0",
"react-test-renderer": "~16.9.0"
"react": "~17.0.2",
"react-dom": "~17.0.2",
"react-is": "~17.0.2",
"react-test-renderer": "~17.0.2"
},
"devDependencies": {
"@babel/core": "^7.14.6",
Expand Down Expand Up @@ -66,8 +66,8 @@
"lint-staged": "^11.1.1",
"node-gyp": "^7.1.2",
"prettier": "^2.2.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.0",
"stylelint": "^13.13.1"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/carbon-react/__tests__/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ Array [
"PaginationNav",
"PaginationSkeleton",
"PasswordInput",
"Popover",
"PopoverContent",
"PrimaryButton",
"ProgressIndicator",
"ProgressIndicatorSkeleton",
Expand Down
4 changes: 2 additions & 2 deletions packages/carbon-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
"postcss-custom-properties": "^11.0.0",
"postcss-loader": "4",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.46.0",
"rollup-plugin-strip-banner": "^2.0.0",
Expand Down
98 changes: 0 additions & 98 deletions packages/carbon-react/src/components/Popover/Popover.stories.js

This file was deleted.

147 changes: 0 additions & 147 deletions packages/carbon-react/src/components/Popover/index.js

This file was deleted.

59 changes: 0 additions & 59 deletions packages/carbon-react/src/components/Popover/story.scss

This file was deleted.

2 changes: 2 additions & 0 deletions packages/carbon-react/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ export {
unstable_HStack as HStack,
unstable_Stack as Stack,
unstable_VStack as VStack,
unstable_Popover as Popover,
unstable_PopoverContent as PopoverContent,
} from 'carbon-components-react';

export {
Expand Down
4 changes: 2 additions & 2 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@
"postcss-loader": "^3.0.0",
"promise": "^8.0.1",
"prop-types": "^15.6.0",
"react": "^16.8.6",
"react": "^17.0.2",
"react-copy-to-clipboard": "^5.0.0",
"react-dom": "^16.8.6",
"react-dom": "^17.0.2",
"react-ga": "^3.3.0",
"rollup": "^2.46.0",
"rollup-plugin-filesize": "^9.1.1",
Expand Down
Loading

0 comments on commit cbcbe7d

Please sign in to comment.