diff --git a/config/jest-config-ibm-cloud-cognitive/CHANGELOG.md b/config/jest-config-ibm-cloud-cognitive/CHANGELOG.md index 23adc5c772..c71e52df47 100644 --- a/config/jest-config-ibm-cloud-cognitive/CHANGELOG.md +++ b/config/jest-config-ibm-cloud-cognitive/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.8.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@1.7.0-rc.0...jest-config-ibm-cloud-cognitive@1.8.0-rc.0) (2024-09-03) + +**Note:** Version bump only for package jest-config-ibm-cloud-cognitive + + + + + # [1.7.0](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@1.7.0-rc.0...jest-config-ibm-cloud-cognitive@1.7.0) (2024-08-28) **Note:** Version bump only for package jest-config-ibm-cloud-cognitive diff --git a/config/jest-config-ibm-cloud-cognitive/package.json b/config/jest-config-ibm-cloud-cognitive/package.json index 1cadff2b54..ed8f2a7b90 100644 --- a/config/jest-config-ibm-cloud-cognitive/package.json +++ b/config/jest-config-ibm-cloud-cognitive/package.json @@ -1,7 +1,7 @@ { "name": "jest-config-ibm-cloud-cognitive", "private": true, - "version": "1.7.0", + "version": "1.8.0-rc.0", "license": "Apache-2.0", "main": "index.js", "repository": { diff --git a/config/jest-config-ibm-cloud-cognitive/setup/matchers/toHaveNoAxeViolations.js b/config/jest-config-ibm-cloud-cognitive/setup/matchers/toHaveNoAxeViolations.js index fd78502248..184abf141c 100644 --- a/config/jest-config-ibm-cloud-cognitive/setup/matchers/toHaveNoAxeViolations.js +++ b/config/jest-config-ibm-cloud-cognitive/setup/matchers/toHaveNoAxeViolations.js @@ -1,5 +1,5 @@ /** - * Copyright IBM Corp. 2020, 2020 + * Copyright IBM Corp. 2020, 2024 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. @@ -29,33 +29,22 @@ const defaultOptions = { }, }; -function toHaveNoAxeViolations(node, options = {}) { - return new Promise((resolve) => { - axe.run( - node, - { - ...defaultOptions, - ...options, - }, - (error, result) => { - if (error) { - throw error; - } +async function toHaveNoAxeViolations(node, options = {}) { + const result = await axe.run(node, { + ...defaultOptions, + ...options, + }); - if (result.violations.length > 0) { - resolve({ - message: () => formatOutput(result.violations), - pass: false, - }); - return; - } + if (result.violations.length > 0) { + return { + message: () => formatOutput(result.violations), + pass: false, + }; + } - resolve({ - pass: true, - }); - } - ); - }); + return { + pass: true, + }; } function formatOutput(violations) { diff --git a/docs/guides/publishing-releases.md b/docs/guides/publishing-releases.md index 13eec4de80..2e45ab7549 100644 --- a/docs/guides/publishing-releases.md +++ b/docs/guides/publishing-releases.md @@ -119,9 +119,6 @@ release team will need to do the following: - [ ] Check the generated [release](https://github.com/carbon-design-system/ibm-products/releases) to ensure the release notes are correct. - - [ ] Edit the generated release, and change the release from `pre-release` to - `latest`. - ![Screenshot of release label with latest option selected](https://github.com/user-attachments/assets/0be18f12-380e-45f2-b8aa-cfd01b9aa50c) - [ ] Post a message to the `#ibmproducts-pal-dev` Slack channel to announce the new version of `@carbon/ibm-products`. @@ -258,6 +255,9 @@ validated. During this stage, the release team will do the following: - [ ] Check the generated [release](https://github.com/carbon-design-system/ibm-products/releases) to ensure the release notes are correct. + - [ ] Edit the generated release, and change the release from `pre-release` to + `latest`. + ![Screenshot of release label with latest option selected](https://github.com/user-attachments/assets/0be18f12-380e-45f2-b8aa-cfd01b9aa50c) - [ ] Post a message to the `#ibmproducts-pal-dev` Slack channel to announce the new version of `@carbon/ibm-products`. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index b1448dc95c..2a4f887cce 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.25.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-cloud-cognitive-core@2.24.0-rc.0...@carbon/ibm-cloud-cognitive-core@2.25.0-rc.0) (2024-09-03) + +**Note:** Version bump only for package @carbon/ibm-cloud-cognitive-core + + + + + # [2.24.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-cloud-cognitive-core@2.24.0-rc.0...@carbon/ibm-cloud-cognitive-core@2.24.0) (2024-08-28) **Note:** Version bump only for package @carbon/ibm-cloud-cognitive-core diff --git a/packages/core/package.json b/packages/core/package.json index 7f24f69200..64e10615c9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/ibm-cloud-cognitive-core", "private": true, - "version": "2.24.0", + "version": "2.25.0-rc.0", "license": "Apache-2.0", "main": "scripts/build.js", "repository": { @@ -29,7 +29,7 @@ }, "devDependencies": { "@carbon/grid": "^11.24.1", - "@carbon/ibm-products-styles": "^2.44.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", diff --git a/packages/ibm-products-community/CHANGELOG.md b/packages/ibm-products-community/CHANGELOG.md index e842c97fb9..9c2a95e6e4 100644 --- a/packages/ibm-products-community/CHANGELOG.md +++ b/packages/ibm-products-community/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.10.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-products-community@0.9.0-rc.0...@carbon/ibm-products-community@0.10.0-rc.0) (2024-09-03) + +**Note:** Version bump only for package @carbon/ibm-products-community + + + + + # [0.9.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-products-community@0.9.0-rc.0...@carbon/ibm-products-community@0.9.0) (2024-08-28) **Note:** Version bump only for package @carbon/ibm-products-community diff --git a/packages/ibm-products-community/package.json b/packages/ibm-products-community/package.json index 1ab6975deb..876ee35da1 100644 --- a/packages/ibm-products-community/package.json +++ b/packages/ibm-products-community/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/ibm-products-community", "description": "Carbon for IBM Products Community package", - "version": "0.9.0", + "version": "0.10.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -39,7 +39,7 @@ "babel-preset-ibm-cloud-cognitive": "^0.14.40", "cross-env": "^7.0.3", "jest": "^29.6.2", - "jest-config-ibm-cloud-cognitive": "^1.7.0", + "jest-config-ibm-cloud-cognitive": "^1.8.0-rc.0", "jest-environment-jsdom": "^29.6.2", "rimraf": "^5.0.1", "sass": "^1.77.2" diff --git a/packages/ibm-products-styles/CHANGELOG.md b/packages/ibm-products-styles/CHANGELOG.md index cd56c254a8..5177ca0841 100644 --- a/packages/ibm-products-styles/CHANGELOG.md +++ b/packages/ibm-products-styles/CHANGELOG.md @@ -3,6 +3,26 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.45.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-products-styles@2.44.0-rc.0...@carbon/ibm-products-styles@2.45.0-rc.0) (2024-09-03) + + +### Bug Fixes + +* **conditionBuilder:** _conditionBuilderItem.scss causing sass warnings ([#5906](https://github.com/carbon-design-system/ibm-products/issues/5906)) ([2100bd4](https://github.com/carbon-design-system/ibm-products/commit/2100bd4134628ce785c411f582cd3e5d2b53cbbb)) +* **Datagrid:** csp violation ([#5831](https://github.com/carbon-design-system/ibm-products/issues/5831)) ([73a9824](https://github.com/carbon-design-system/ibm-products/commit/73a98242150e421a7c414bf7743f453a2234caba)) +* editinplace replace outline with border ([#5869](https://github.com/carbon-design-system/ibm-products/issues/5869)) ([0fb5afd](https://github.com/carbon-design-system/ibm-products/commit/0fb5afd7c210e6b726f67887b8126f3f0692c106)) + + +### Features + +* **ConditionBuilder:** enhancing the conditional operators section that manages the primary logic flow ([#5921](https://github.com/carbon-design-system/ibm-products/issues/5921)) ([91733fb](https://github.com/carbon-design-system/ibm-products/commit/91733fb43157eab26c885f0652adaf9276f372d4)) +* **Conditionbuilder:** renaming both variants to Hierarchical and Non-Hierarchical ([#5847](https://github.com/carbon-design-system/ibm-products/issues/5847)) ([791e2b3](https://github.com/carbon-design-system/ibm-products/commit/791e2b31549f3f4480cac2fc142e550b5e12ea31)) +* **datagrids:** Add custom batch actions display min ([#5776](https://github.com/carbon-design-system/ibm-products/issues/5776)) ([485e8bc](https://github.com/carbon-design-system/ibm-products/commit/485e8bcac3193e56d65721076160944b4e126256)) + + + + + # [2.44.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-products-styles@2.44.0-rc.0...@carbon/ibm-products-styles@2.44.0) (2024-08-28) **Note:** Version bump only for package @carbon/ibm-products-styles diff --git a/packages/ibm-products-styles/package.json b/packages/ibm-products-styles/package.json index 141c9e244a..3ba386ea04 100644 --- a/packages/ibm-products-styles/package.json +++ b/packages/ibm-products-styles/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/ibm-products-styles", "description": "Carbon for IBM Products styles", - "version": "2.44.0", + "version": "2.45.0-rc.0", "license": "Apache-2.0", "installConfig": { "hoistingLimits": "none" @@ -52,7 +52,7 @@ "cross-env": "^7.0.3", "glob": "^11.0.0", "jest": "^29.7.0", - "jest-config-ibm-cloud-cognitive": "^1.7.0", + "jest-config-ibm-cloud-cognitive": "^1.8.0-rc.0", "jest-environment-jsdom": "^29.7.0", "npm-check-updates": "^17.1.0", "npm-run-all": "^4.1.5", diff --git a/packages/ibm-products/CHANGELOG.md b/packages/ibm-products/CHANGELOG.md index a354c192ea..fcbc3ebffe 100644 --- a/packages/ibm-products/CHANGELOG.md +++ b/packages/ibm-products/CHANGELOG.md @@ -3,6 +3,45 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.49.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-products@2.48.0-rc.0...@carbon/ibm-products@2.49.0-rc.0) (2024-09-03) + + +### Bug Fixes + +* **Conditionbuilder:** add await for accessibility test ([#5794](https://github.com/carbon-design-system/ibm-products/issues/5794)) ([0d86010](https://github.com/carbon-design-system/ibm-products/commit/0d860101791e8587f8d1688348aae8438c4d0fc9)) +* **create-full-page-step:** update hasFieldSet type ([#5876](https://github.com/carbon-design-system/ibm-products/issues/5876)) ([54afdf6](https://github.com/carbon-design-system/ibm-products/commit/54afdf6f31b60e87a21949a69e01ec94bbdc2b79)) +* data spreadsheet object drag drop ([#5800](https://github.com/carbon-design-system/ibm-products/issues/5800)) ([25e95ba](https://github.com/carbon-design-system/ibm-products/commit/25e95bab041d69b28cc8e2a1c15ddd78ea4ab311)) +* **Datagrid:** clickable row retain focus after sidepanel closes ([#5952](https://github.com/carbon-design-system/ibm-products/issues/5952)) ([0df9085](https://github.com/carbon-design-system/ibm-products/commit/0df908523eab166b8bb63731f60a727ef846e41f)) +* **Datagrid:** csp violation ([#5831](https://github.com/carbon-design-system/ibm-products/issues/5831)) ([73a9824](https://github.com/carbon-design-system/ibm-products/commit/73a98242150e421a7c414bf7743f453a2234caba)) +* **datagrid:** customise column tearsheet update issue with new columns ([#5953](https://github.com/carbon-design-system/ibm-products/issues/5953)) ([7ab472a](https://github.com/carbon-design-system/ibm-products/commit/7ab472a22d78b07b900513f0b1a0ddce8b7db2f7)) +* **Datagrid:** remove unused span with inputProps ([#5915](https://github.com/carbon-design-system/ibm-products/issues/5915)) ([517e4f3](https://github.com/carbon-design-system/ibm-products/commit/517e4f36631cf1cc81d6f21fd25a83b3c65da540)) +* **DataGrid:** row size change issues with virtual scrolling enabled ([#5895](https://github.com/carbon-design-system/ibm-products/issues/5895)) ([a297e8a](https://github.com/carbon-design-system/ibm-products/commit/a297e8a1dc67e8017083452c79b5162eaf282c99)) +* **EditInPlace:** removes focus when pressing esc or enter key ([#5943](https://github.com/carbon-design-system/ibm-products/issues/5943)) ([5eff024](https://github.com/carbon-design-system/ibm-products/commit/5eff0243b65123fb39c801194a1b1a8bb9889240)) +* first step logic enhancement for CreateTearsheet ([#5884](https://github.com/carbon-design-system/ibm-products/issues/5884)) ([4f3b70f](https://github.com/carbon-design-system/ibm-products/commit/4f3b70f93d43a94c50b8eea77b5960f30b59c403)) +* **getstartedcard:** disable vairant issue in JAWS ([#5886](https://github.com/carbon-design-system/ibm-products/issues/5886)) ([515d4c0](https://github.com/carbon-design-system/ibm-products/commit/515d4c0c89f8fe70539946072e9397d297b0faac)) +* **NotificationPanel:** add missing role ([#5810](https://github.com/carbon-design-system/ibm-products/issues/5810)) ([bf17410](https://github.com/carbon-design-system/ibm-products/commit/bf1741045997b784c98068c618260dfbc7a79dc6)) +* **ProductiveCard:** makes graph screen readable, story only. ([#5883](https://github.com/carbon-design-system/ibm-products/issues/5883)) ([a2db976](https://github.com/carbon-design-system/ibm-products/commit/a2db976c1609df5fd83459e5137e42d3a356ca5d)) +* reword props in card stories ([#5871](https://github.com/carbon-design-system/ibm-products/issues/5871)) ([df80f00](https://github.com/carbon-design-system/ibm-products/commit/df80f0029af2c2ec6d7c53b66d69dfc007c1f446)) +* **sidepanel:** button text change ([#5907](https://github.com/carbon-design-system/ibm-products/issues/5907)) ([f701002](https://github.com/carbon-design-system/ibm-products/commit/f7010028dbedae7178244b4123a3b0bc485efa70)) +* **TagSet:** fix string formatting ([#5880](https://github.com/carbon-design-system/ibm-products/issues/5880)) ([9339559](https://github.com/carbon-design-system/ibm-products/commit/93395596b529fb2e1bb7591e8d4792f1ff1de7ff)) +* **tearsheet:** focus without sentinels ([#5882](https://github.com/carbon-design-system/ibm-products/issues/5882)) ([f362806](https://github.com/carbon-design-system/ibm-products/commit/f3628062a6e65ea5963353a79da1734db6bc9d80)) +* **tearsheet:** implement a workaround ([#5960](https://github.com/carbon-design-system/ibm-products/issues/5960)) ([c7d1ef3](https://github.com/carbon-design-system/ibm-products/commit/c7d1ef37a22f3820dd22ad97cd247c169fdc97b4)) +* **Tearsheet:** update portalTarget type ([#5899](https://github.com/carbon-design-system/ibm-products/issues/5899)) ([d7aa99e](https://github.com/carbon-design-system/ibm-products/commit/d7aa99ed058d3cd55302bc6fe5c169e5a120d64e)) +* **ToolbarButton:** deprecate iconDescription and use label instead ([#5893](https://github.com/carbon-design-system/ibm-products/issues/5893)) ([b968386](https://github.com/carbon-design-system/ibm-products/commit/b968386090b0934f770c66a6eab08f4af0054ee4)) +* **useFocus:** change delay to 1ms ([#5950](https://github.com/carbon-design-system/ibm-products/issues/5950)) ([5883cd3](https://github.com/carbon-design-system/ibm-products/commit/5883cd3a14039ab7ca044b4ab95621bb70ccf68e)) + + +### Features + +* **ConditionBuilder:** enhancing the conditional operators section that manages the primary logic flow ([#5921](https://github.com/carbon-design-system/ibm-products/issues/5921)) ([91733fb](https://github.com/carbon-design-system/ibm-products/commit/91733fb43157eab26c885f0652adaf9276f372d4)) +* **Conditionbuilder:** renaming both variants to Hierarchical and Non-Hierarchical ([#5847](https://github.com/carbon-design-system/ibm-products/issues/5847)) ([791e2b3](https://github.com/carbon-design-system/ibm-products/commit/791e2b31549f3f4480cac2fc142e550b5e12ea31)) +* **datagrid:** adds radio filter ([#5877](https://github.com/carbon-design-system/ibm-products/issues/5877)) ([12667e8](https://github.com/carbon-design-system/ibm-products/commit/12667e8387afc97c8a81a791c72f7ad323d7be6b)) +* **datagrids:** Add custom batch actions display min ([#5776](https://github.com/carbon-design-system/ibm-products/issues/5776)) ([485e8bc](https://github.com/carbon-design-system/ibm-products/commit/485e8bcac3193e56d65721076160944b4e126256)) + + + + + # [2.48.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-products@2.48.0-rc.0...@carbon/ibm-products@2.48.0) (2024-08-28) **Note:** Version bump only for package @carbon/ibm-products diff --git a/packages/ibm-products/package.json b/packages/ibm-products/package.json index 576c4025c2..5f28629a33 100644 --- a/packages/ibm-products/package.json +++ b/packages/ibm-products/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/ibm-products", "description": "Carbon for IBM Products", - "version": "2.48.0", + "version": "2.49.0-rc.0", "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", @@ -81,7 +81,7 @@ "fs-extra": "^11.2.0", "glob": "^11.0.0", "jest": "^29.7.0", - "jest-config-ibm-cloud-cognitive": "^1.7.0", + "jest-config-ibm-cloud-cognitive": "^1.8.0-rc.0", "jest-environment-jsdom": "^29.7.0", "namor": "^1.1.2", "npm-check-updates": "^17.1.0", @@ -96,7 +96,7 @@ "dependencies": { "@babel/runtime": "^7.25.6", "@carbon/feature-flags": "^0.20.0", - "@carbon/ibm-products-styles": "^2.44.0", + "@carbon/ibm-products-styles": "^2.45.0-rc.0", "@carbon/telemetry": "^0.1.0", "@dnd-kit/core": "^6.1.0", "@dnd-kit/modifiers": "^7.0.0", diff --git a/packages/ibm-products/src/components/AboutModal/AboutModal.test.js b/packages/ibm-products/src/components/AboutModal/AboutModal.test.js index 2f0add463a..1a61d5daad 100644 --- a/packages/ibm-products/src/components/AboutModal/AboutModal.test.js +++ b/packages/ibm-products/src/components/AboutModal/AboutModal.test.js @@ -1,5 +1,5 @@ /** - * Copyright IBM Corp. 2021, 2021 + * Copyright IBM Corp. 2021, 2024 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. @@ -93,17 +93,16 @@ describe(componentName, () => { expect(screen.getByRole('presentation')).toHaveClass(blockClass); }); - // Currently fails due to https://github.com/carbon-design-system/carbon/issues/14135 regarding focusable button - it.skip('has no accessibility violations when closed', async () => { + it('has no accessibility violations when closed', async () => { const { container } = renderComponent({ open: false }); - expect(container).toBeAccessible(`${componentName} closed`); - expect(container).toHaveNoAxeViolations(); + await expect(container).toBeAccessible(`${componentName} closed`); + await expect(container).toHaveNoAxeViolations(); }); it('has no accessibility violations', async () => { const { container } = renderComponent({ open: true }); - expect(container).toBeAccessible(componentName); - expect(container).toHaveNoAxeViolations(); + await expect(container).toBeAccessible(componentName); + await expect(container).toHaveNoAxeViolations(); }); it('renders closeIconDescription, title, logo, and version', async () => { diff --git a/packages/ibm-products/src/components/CreateFullPage/CreateFullPage.test.js b/packages/ibm-products/src/components/CreateFullPage/CreateFullPage.test.js index 4eacb7543f..db9df6f44c 100644 --- a/packages/ibm-products/src/components/CreateFullPage/CreateFullPage.test.js +++ b/packages/ibm-products/src/components/CreateFullPage/CreateFullPage.test.js @@ -1,5 +1,5 @@ /** - * Copyright IBM Corp. 2021, 2022 + * Copyright IBM Corp. 2021, 2024 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. @@ -185,8 +185,7 @@ describe(componentName, () => { window.ResizeObserver = ResizeObserver; }); - // Currently fails due to https://github.com/carbon-design-system/carbon/issues/14135 regarding focusable button - it.skip('has no accessibility violations', async () => { + it('has no accessibility violations', async () => { const { container } = renderComponent({ ...defaultFullPageProps }); expect(container).toBeAccessible(componentName); diff --git a/packages/ibm-products/src/components/CreateTearsheetNarrow/CreateTearsheetNarrow.test.js b/packages/ibm-products/src/components/CreateTearsheetNarrow/CreateTearsheetNarrow.test.js index 308e0c5d0a..1b454392f4 100644 --- a/packages/ibm-products/src/components/CreateTearsheetNarrow/CreateTearsheetNarrow.test.js +++ b/packages/ibm-products/src/components/CreateTearsheetNarrow/CreateTearsheetNarrow.test.js @@ -1,5 +1,5 @@ /** - * Copyright IBM Corp. 2021, 2021 + * Copyright IBM Corp. 2021, 2024 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. @@ -76,17 +76,16 @@ describe(componentName, () => { expect(screen.getByText(defaultProps.primaryButtonText)).toBeVisible(); }); - it.skip('has no accessibility violations when closed', async () => { - // Currently fails due to https://github.com/carbon-design-system/carbon/issues/14135 regarding focusable button + it('has no accessibility violations when closed', async () => { const { container } = renderComponent({ open: false }); - expect(container).toBeAccessible(componentName); - expect(container).toHaveNoAxeViolations(); + await expect(container).toBeAccessible(componentName); + await expect(container).toHaveNoAxeViolations(); }); it('has no accessibility violations', async () => { const { container } = renderComponent(); - expect(container).toBeAccessible(componentName); - expect(container).toHaveNoAxeViolations(); + await expect(container).toBeAccessible(componentName); + await expect(container).toHaveNoAxeViolations(); }); it(`renders children`, async () => { diff --git a/packages/ibm-products/src/components/Tearsheet/Tearsheet.test.js b/packages/ibm-products/src/components/Tearsheet/Tearsheet.test.js index 61db0b1e32..2cb1b2222a 100644 --- a/packages/ibm-products/src/components/Tearsheet/Tearsheet.test.js +++ b/packages/ibm-products/src/components/Tearsheet/Tearsheet.test.js @@ -1,5 +1,5 @@ /** - * Copyright IBM Corp. 2020, 2023 + * Copyright IBM Corp. 2020, 2024 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. @@ -106,8 +106,7 @@ const commonTests = (Ts, name, props, testActions) => { }); }); - // Currently fails due to https://github.com/carbon-design-system/carbon/issues/14135 regarding focusable button - it.skip('has no accessibility violations when closed', async () => { + it('has no accessibility violations when closed', async () => { const { container } = render( ); diff --git a/packages/ibm-products/telemetry.yml b/packages/ibm-products/telemetry.yml index 5adc54ee72..7ab1fe449b 100644 --- a/packages/ibm-products/telemetry.yml +++ b/packages/ibm-products/telemetry.yml @@ -32,6 +32,7 @@ collect: - assistiveText - assistiveTextDisabledInstructionsLabel - assistiveTextInstructionsLabel + - autoAlign - backButtonText - backgroundColor - batchActionMenuButtonLabel @@ -219,7 +220,10 @@ collect: - onContextMenuLabel - onContextMenuValue - onDataUpdate + - onFocus - onMount + - onMouseEnter + - onMouseLeave - onNext - onOverflowTagChange - onPrimaryButtonClick @@ -343,6 +347,7 @@ collect: - title - titleSize - toolbarBatchActions + - toolbarBatchActionsDisplayMin - tooltipAlignment - tooltipText - totalVisibleColumns @@ -502,7 +507,6 @@ collect: - toggleLabel - toggleLabelAlign # Coachmark - - autoAlign - overlayClassName - overlayKind - overlayRef @@ -537,9 +541,6 @@ collect: # ConditionBuilderButton - hideLabel - isInvalid - - onFocus - - onMouseEnter - - onMouseLeave - tooltipAlign - wrapperClassName - wrapperProps @@ -549,7 +550,11 @@ collect: # ConditionBuilderItemDate - parentRef # ConditionBuilderProvider + - actionState - conditionBuilderRef + - rootState + - setActionState + - setRootState # ConditionConnector - operator # ConditionPreview @@ -1101,12 +1106,13 @@ collect: - radio - selection - text + - textarea # General - updateMethod - batch - instant # General - variant - - sentence - - tree + - Hierarchical + - Non-Hierarchical # General - verticalPosition - lower - normal @@ -1129,6 +1135,9 @@ collect: - floating - stacked - tooltip + # ConditionBlock - conjunction + - and + - or # ConditionPreview - previewType - condition - newGroup diff --git a/scripts/get-changelog.js b/scripts/get-changelog.js index b6a54beaa0..28d3055bae 100644 --- a/scripts/get-changelog.js +++ b/scripts/get-changelog.js @@ -53,6 +53,7 @@ const delimiter = '----DELIMITER----'; const denyList = [ 'chore(release): publish [skip ci]', 'chore(telemetry): update telemetry config', + 'chore(release): v2.', ]; /** diff --git a/yarn.lock b/yarn.lock index 48c0d3089b..0552ad5b9b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1707,7 +1707,7 @@ __metadata: resolution: "@carbon/ibm-cloud-cognitive-core@workspace:packages/core" dependencies: "@carbon/grid": "npm:^11.24.1" - "@carbon/ibm-products-styles": "npm:^2.44.0" + "@carbon/ibm-products-styles": "npm:^2.45.0-rc.0" "@carbon/layout": "npm:^11.23.1" "@carbon/motion": "npm:^11.19.1" "@carbon/react": "npm:^1.61.0" @@ -1756,7 +1756,7 @@ __metadata: babel-preset-ibm-cloud-cognitive: "npm:^0.14.40" cross-env: "npm:^7.0.3" jest: "npm:^29.6.2" - jest-config-ibm-cloud-cognitive: "npm:^1.7.0" + jest-config-ibm-cloud-cognitive: "npm:^1.8.0-rc.0" jest-environment-jsdom: "npm:^29.6.2" rimraf: "npm:^5.0.1" sass: "npm:^1.77.2" @@ -1772,7 +1772,7 @@ __metadata: languageName: unknown linkType: soft -"@carbon/ibm-products-styles@npm:^2.44.0, @carbon/ibm-products-styles@workspace:packages/ibm-products-styles": +"@carbon/ibm-products-styles@npm:^2.45.0-rc.0, @carbon/ibm-products-styles@workspace:packages/ibm-products-styles": version: 0.0.0-use.local resolution: "@carbon/ibm-products-styles@workspace:packages/ibm-products-styles" dependencies: @@ -1782,7 +1782,7 @@ __metadata: cross-env: "npm:^7.0.3" glob: "npm:^11.0.0" jest: "npm:^29.7.0" - jest-config-ibm-cloud-cognitive: "npm:^1.7.0" + jest-config-ibm-cloud-cognitive: "npm:^1.8.0-rc.0" jest-environment-jsdom: "npm:^29.7.0" npm-check-updates: "npm:^17.1.0" npm-run-all: "npm:^4.1.5" @@ -1813,7 +1813,7 @@ __metadata: "@babel/preset-typescript": "npm:^7.24.7" "@babel/runtime": "npm:^7.25.6" "@carbon/feature-flags": "npm:^0.20.0" - "@carbon/ibm-products-styles": "npm:^2.44.0" + "@carbon/ibm-products-styles": "npm:^2.45.0-rc.0" "@carbon/telemetry": "npm:^0.1.0" "@dnd-kit/core": "npm:^6.1.0" "@dnd-kit/modifiers": "npm:^7.0.0" @@ -1838,7 +1838,7 @@ __metadata: glob: "npm:^11.0.0" immutability-helper: "npm:^3.1.1" jest: "npm:^29.7.0" - jest-config-ibm-cloud-cognitive: "npm:^1.7.0" + jest-config-ibm-cloud-cognitive: "npm:^1.8.0-rc.0" jest-environment-jsdom: "npm:^29.7.0" lodash: "npm:^4.17.21" lottie-web: "npm:^5.12.2" @@ -13538,7 +13538,7 @@ __metadata: languageName: node linkType: hard -"jest-config-ibm-cloud-cognitive@npm:^1.7.0, jest-config-ibm-cloud-cognitive@workspace:config/jest-config-ibm-cloud-cognitive": +"jest-config-ibm-cloud-cognitive@npm:^1.8.0-rc.0, jest-config-ibm-cloud-cognitive@workspace:config/jest-config-ibm-cloud-cognitive": version: 0.0.0-use.local resolution: "jest-config-ibm-cloud-cognitive@workspace:config/jest-config-ibm-cloud-cognitive" dependencies: