Skip to content

Commit

Permalink
fix: update to Carbon 11 compatible versions to latest (carbon-design…
Browse files Browse the repository at this point in the history
…-system#5987)

* fix: update Carbon 11 compatible versions to latest

* chore: package update

---------

Co-authored-by: lee-chase <[email protected]>
Co-authored-by: Amal K Joy <[email protected]>
Co-authored-by: Anamika T S <[email protected]>
Co-authored-by: Alexander Melo <[email protected]>
  • Loading branch information
5 people authored Sep 11, 2024
1 parent 1db6688 commit 173e6c6
Show file tree
Hide file tree
Showing 8 changed files with 184 additions and 233 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"copyfiles": "^2.4.1",
"cspell": "^8.3.2",
"eslint": "^8.56.0",
"eslint-config-carbon": "^3.12.0",
"eslint-config-carbon": "^3.15.0",
"eslint-plugin-ssr-friendly": "^1.3.0",
"gitignore-to-glob": "^0.3.0",
"globby": "^14.0.0",
Expand All @@ -105,7 +105,7 @@
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"stylelint": "^15.11.0",
"stylelint-config-carbon": "1.17.0",
"stylelint-config-carbon": "1.17.1",
"webpack": "^5.90.0"
},
"//resolutions:http-signature": "package 'request' deprecated but still used, asks for http-signature ~1.2.0 which indirectly has vulnerabilities",
Expand Down
12 changes: 6 additions & 6 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
"upgrade-dependencies": "npm-check-updates -u --dep dev,peer,prod --color --reject '/(carbon|^react$|^react-dom$)/'"
},
"devDependencies": {
"@carbon/grid": "^11.24.1",
"@carbon/grid": "^11.26.0",
"@carbon/ibm-products-styles": "^2.45.0-rc.0",
"@carbon/layout": "^11.23.1",
"@carbon/motion": "^11.19.1",
"@carbon/react": "^1.61.0",
"@carbon/themes": "^11.37.1",
"@carbon/type": "^11.28.1",
"@carbon/layout": "^11.25.0",
"@carbon/motion": "^11.21.0",
"@carbon/react": "^1.65.0",
"@carbon/themes": "^11.39.0",
"@carbon/type": "^11.30.0",
"@storybook/addon-a11y": "^8.1.10",
"@storybook/addon-actions": "^8.0.9",
"@storybook/addon-controls": "^8.0.9",
Expand Down
12 changes: 6 additions & 6 deletions packages/ibm-products-community/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"test": "jest --colors"
},
"peerDependencies": {
"@carbon/grid": "^11.24.1",
"@carbon/layout": "^11.23.1",
"@carbon/motion": "^11.19.1",
"@carbon/react": "^1.61.0",
"@carbon/themes": "^11.37.1",
"@carbon/type": "^11.28.1",
"@carbon/grid": "^11.26.0",
"@carbon/layout": "^11.25.0",
"@carbon/motion": "^11.21.0",
"@carbon/react": "^1.65.0",
"@carbon/themes": "^11.39.0",
"@carbon/type": "^11.30.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/ibm-products-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@
"yargs": "^17.7.2"
},
"peerDependencies": {
"@carbon/grid": "^11.24.1",
"@carbon/layout": "^11.23.1",
"@carbon/motion": "^11.19.1",
"@carbon/themes": "^11.37.1",
"@carbon/type": "^11.28.1"
"@carbon/grid": "^11.26.0",
"@carbon/layout": "^11.25.0",
"@carbon/motion": "^11.21.0",
"@carbon/themes": "^11.39.0",
"@carbon/type": "^11.30.0"
},
"dependencies": {
"@ibm/telemetry-js": "^1.5.0"
Expand Down
16 changes: 8 additions & 8 deletions packages/ibm-products/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@
"rollup": "^2.79.1",
"rollup-plugin-strip-banner": "^3.0.0",
"sass": "^1.77.2",
"typescript-config-carbon": "^0.2.1",
"typescript-config-carbon": "^0.3.0",
"yargs": "^17.7.2"
},
"dependencies": {
"@babel/runtime": "^7.23.9",
"@carbon/feature-flags": "^0.20.0",
"@carbon/feature-flags": "^0.22.0",
"@carbon/ibm-products-styles": "^2.45.0-rc.0",
"@carbon/telemetry": "^0.1.0",
"@dnd-kit/core": "^6.0.8",
Expand All @@ -111,12 +111,12 @@
"react-window": "^1.8.10"
},
"peerDependencies": {
"@carbon/grid": "^11.24.1",
"@carbon/layout": "^11.23.1",
"@carbon/motion": "^11.19.1",
"@carbon/react": "^1.61.0",
"@carbon/themes": "^11.37.1",
"@carbon/type": "^11.28.1",
"@carbon/grid": "^11.26.0",
"@carbon/layout": "^11.25.0",
"@carbon/motion": "^11.21.0",
"@carbon/react": "^1.65.0",
"@carbon/themes": "^11.39.0",
"@carbon/type": "^11.30.0",
"react": "^16.8.6 || ^17.0.1 || ^18.2.0",
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,8 @@ describe(componentName, () => {
const inputElement = document.querySelector('#datePicker');
await act(() => userEvent.type(inputElement, '12/06/2024{enter}'));

await act(() => userEvent.keyboard('{escape}'));

const outsideElement = document.body;
fireEvent.mouseDown(outsideElement);
const selectedItem = screen.getByRole('button', { name: '12/06/2024' });

expect(selectedItem);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2333,7 +2333,7 @@ describe(componentName, () => {
dateInputs[0].setSelectionRange(0, dateInputs[0].value.length);
await type(dateInputs[0], '01/01/2024');
await keyboard('[Escape]');
await keyboard('[Tab]');
await click(dateInputs[1]);
await keyboard('01/02/2024');
await keyboard('[Escape]');
expect(dateInputs[0].value).toEqual('01/01/2024');
Expand Down
Loading

0 comments on commit 173e6c6

Please sign in to comment.