From 2909e38a8c8c603f0188b438b974349bb0c3e575 Mon Sep 17 00:00:00 2001 From: David Menendez Date: Mon, 11 Nov 2024 14:31:51 -0600 Subject: [PATCH 1/7] chore(release): publish [skip ci] (#6407) - jest-config-ibm-cloud-cognitive@1.13.0-rc.0 - @carbon/storybook-addon-theme@2.3.0-rc.0 - @carbon/ibm-cloud-cognitive-core@2.30.0-rc.0 - @carbon/ibm-products@2.54.0-rc.0 - @carbon/ibm-products-styles@2.50.0-rc.0 - @carbon/ibm-products-web-components@0.3.0-rc.0 Co-authored-by: Carbon Design System --- .../CHANGELOG.md | 14 ++ .../package.json | 2 +- .../storybook-addon-carbon-theme/CHANGELOG.md | 8 ++ .../storybook-addon-carbon-theme/package.json | 2 +- packages/core/CHANGELOG.md | 22 ++++ packages/core/package.json | 4 +- packages/ibm-products-styles/CHANGELOG.md | 43 ++++++ packages/ibm-products-styles/package.json | 4 +- .../ibm-products-web-components/CHANGELOG.md | 22 ++++ .../ibm-products-web-components/package.json | 4 +- packages/ibm-products/CHANGELOG.md | 123 ++++++++++++++++++ packages/ibm-products/package.json | 6 +- yarn.lock | 29 ++++- 13 files changed, 265 insertions(+), 18 deletions(-) diff --git a/config/jest-config-ibm-cloud-cognitive/CHANGELOG.md b/config/jest-config-ibm-cloud-cognitive/CHANGELOG.md index 92afced16a..e2203c2b24 100644 --- a/config/jest-config-ibm-cloud-cognitive/CHANGELOG.md +++ b/config/jest-config-ibm-cloud-cognitive/CHANGELOG.md @@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.13.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.13.0-rc.0) (2024-11-11) + + +### Bug Fixes + +* adds html output for coverage reporting ([#6150](https://github.com/carbon-design-system/ibm-products/issues/6150)) ([beaa94c](https://github.com/carbon-design-system/ibm-products/commit/beaa94c98a2df75f6773d810726fe1b6522658d2)) +* adds typescript to coverage report ([#6140](https://github.com/carbon-design-system/ibm-products/issues/6140)) ([2466c5b](https://github.com/carbon-design-system/ibm-products/commit/2466c5bb001f18ad065eb669f380cd32db0d0bfc)) +* temp workaround for target_spacing_sufficient rule ([#6166](https://github.com/carbon-design-system/ibm-products/issues/6166)) ([314a6d8](https://github.com/carbon-design-system/ibm-products/commit/314a6d835bc5335d750392156c6fbcdff25db85b)) +* update toHaveNoAxeViolations and remove skips ([#5955](https://github.com/carbon-design-system/ibm-products/issues/5955)) ([694128b](https://github.com/carbon-design-system/ibm-products/commit/694128bb707a2400d67e6618af3fea3f3ffba86f)) + + + + + # [1.12.0](https://github.com/carbon-design-system/ibm-products/compare/jest-config-ibm-cloud-cognitive@1.12.0-rc.0...jest-config-ibm-cloud-cognitive@1.12.0) (2024-11-06) **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 4636fd9ba6..9269b7b978 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.12.0", + "version": "1.13.0-rc.0", "license": "Apache-2.0", "main": "index.js", "repository": { diff --git a/config/storybook-addon-carbon-theme/CHANGELOG.md b/config/storybook-addon-carbon-theme/CHANGELOG.md index 7a28e2a2ef..0b2f19ef04 100644 --- a/config/storybook-addon-carbon-theme/CHANGELOG.md +++ b/config/storybook-addon-carbon-theme/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.3.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/storybook-addon-theme@2.1.0...@carbon/storybook-addon-theme@2.3.0-rc.0) (2024-11-11) + +**Note:** Version bump only for package @carbon/storybook-addon-theme + + + + + # [2.2.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/storybook-addon-theme@2.2.0-rc.0...@carbon/storybook-addon-theme@2.2.0) (2024-11-06) **Note:** Version bump only for package @carbon/storybook-addon-theme diff --git a/config/storybook-addon-carbon-theme/package.json b/config/storybook-addon-carbon-theme/package.json index 66237cbde4..a8fd1b0eda 100644 --- a/config/storybook-addon-carbon-theme/package.json +++ b/config/storybook-addon-carbon-theme/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/storybook-addon-theme", "description": "Carbon theme switcher for Storybook", - "version": "2.2.0", + "version": "2.3.0-rc.0", "license": "Apache-2.0", "main": "dist/react.js", "repository": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index c4beba02bd..9b38809315 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,28 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.30.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.30.0-rc.0) (2024-11-11) + + +### Bug Fixes + +* correctly renders component when using feature flags ([#6357](https://github.com/carbon-design-system/ibm-products/issues/6357)) ([c04f635](https://github.com/carbon-design-system/ibm-products/commit/c04f63508bb0f43d6b31dcf983d0cd9ac6083a06)) +* move config to core to follow monorepo docs w/ multiple sites ([#6196](https://github.com/carbon-design-system/ibm-products/issues/6196)) ([fa285b7](https://github.com/carbon-design-system/ibm-products/commit/fa285b743bff65577aece8ebddad6e3a75dff85e)) +* update Carbon 11 compatible versions to latest ([#6054](https://github.com/carbon-design-system/ibm-products/issues/6054)) ([0ac7669](https://github.com/carbon-design-system/ibm-products/commit/0ac76692a6eeb85655ca64ca9189297708e26bd9)) +* update to Carbon 11 compatible versions to latest ([#5987](https://github.com/carbon-design-system/ibm-products/issues/5987)) ([173e6c6](https://github.com/carbon-design-system/ibm-products/commit/173e6c6455a4fe619d56148ab432926bc6c640a4)) +* update to Carbon 11 compatible versions to latest ([#6214](https://github.com/carbon-design-system/ibm-products/issues/6214)) ([911c341](https://github.com/carbon-design-system/ibm-products/commit/911c341d258b410ff2109ecb39293c2670796a0e)) +* update to Carbon 11 compatible versions to latest ([#6343](https://github.com/carbon-design-system/ibm-products/issues/6343)) ([71a201a](https://github.com/carbon-design-system/ibm-products/commit/71a201a50fbebe76699ffb0d7df1d2d998370256)) + + +### Features + +* add conditional deploys for web component and react netlify sites ([#6221](https://github.com/carbon-design-system/ibm-products/issues/6221)) ([8a4255c](https://github.com/carbon-design-system/ibm-products/commit/8a4255c0a0269068f66018d215a7bc07d3015f25)) +* **Tearsheet:** Move Tearsheet into @carbon/ibm-products-web-components ([#6204](https://github.com/carbon-design-system/ibm-products/issues/6204)) ([c21d102](https://github.com/carbon-design-system/ibm-products/commit/c21d102de17c311421884ddc17065f81e2c0f44a)) + + + + + # [2.29.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-cloud-cognitive-core@2.29.0-rc.0...@carbon/ibm-cloud-cognitive-core@2.29.0) (2024-11-06) **Note:** Version bump only for package @carbon/ibm-cloud-cognitive-core diff --git a/packages/core/package.json b/packages/core/package.json index ebe4a2aa25..3b1e31b481 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.29.0", + "version": "2.30.0-rc.0", "license": "Apache-2.0", "main": "scripts/build.js", "repository": { @@ -29,7 +29,7 @@ }, "devDependencies": { "@carbon/grid": "^11.29.0", - "@carbon/ibm-products-styles": "^2.49.0", + "@carbon/ibm-products-styles": "^2.50.0-rc.0", "@carbon/layout": "^11.28.0", "@carbon/motion": "^11.24.0", "@carbon/react": "^1.69.0", diff --git a/packages/ibm-products-styles/CHANGELOG.md b/packages/ibm-products-styles/CHANGELOG.md index 1e53cdaf39..30202d87e9 100644 --- a/packages/ibm-products-styles/CHANGELOG.md +++ b/packages/ibm-products-styles/CHANGELOG.md @@ -3,6 +3,49 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.50.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.50.0-rc.0) (2024-11-11) + + +### 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)) +* **conditionBuilder:** release review changes1 ([#6133](https://github.com/carbon-design-system/ibm-products/issues/6133)) ([d3f08bc](https://github.com/carbon-design-system/ibm-products/commit/d3f08bcd0b479a84e69fc29dfe03a931618168a7)) +* createTearsheet height fix ([#6111](https://github.com/carbon-design-system/ibm-products/issues/6111)) ([00a472f](https://github.com/carbon-design-system/ibm-products/commit/00a472fb18ccc231343f0851fbae76e9d98db300)) +* **datagrid:** adds missing header hover styles in v2 ([#6272](https://github.com/carbon-design-system/ibm-products/issues/6272)) ([2311bdb](https://github.com/carbon-design-system/ibm-products/commit/2311bdb7477e72a6cd4d7f915f6dc754874b7375)) +* **DataGrid:** column headers vertically misaligned for sortable ([#5994](https://github.com/carbon-design-system/ibm-products/issues/5994)) ([df0ade1](https://github.com/carbon-design-system/ibm-products/commit/df0ade1c26c17448aa2dd212d75e88f1c4544e61)) +* **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:** header scroll issues ([#6135](https://github.com/carbon-design-system/ibm-products/issues/6135)) ([9d60c0c](https://github.com/carbon-design-system/ibm-products/commit/9d60c0cd0f0ab98ba87915eb50a9de2a55dff5a1)) +* 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)) +* **EditInPlace:** focus and style issue ([#6146](https://github.com/carbon-design-system/ibm-products/issues/6146)) ([831a0bc](https://github.com/carbon-design-system/ibm-products/commit/831a0bc7da65e65c09228cf2b292cbb879484d3a)) +* **Pageheader:** scrollable headers are not tabbable ([#6145](https://github.com/carbon-design-system/ibm-products/issues/6145)) ([ed578ec](https://github.com/carbon-design-system/ibm-products/commit/ed578ec0d45dcd72a7c96fd1e8370d4a67019ec6)) +* remove ellipsis from EditInPlace ([#6098](https://github.com/carbon-design-system/ibm-products/issues/6098)) ([0b40cce](https://github.com/carbon-design-system/ibm-products/commit/0b40cce8451abd0e509a6b16490fff862496b414)) +* **SidePanel:** style issue with multi select ([#6123](https://github.com/carbon-design-system/ibm-products/issues/6123)) ([feb6a99](https://github.com/carbon-design-system/ibm-products/commit/feb6a993cb0971442cca80f4c7c86d90eede0bbf)) +* **TagOverflow:** use operational tag ([#6132](https://github.com/carbon-design-system/ibm-products/issues/6132)) ([791cbec](https://github.com/carbon-design-system/ibm-products/commit/791cbecb2319ce832c1a6341c0a8fbf16b76a3e0)) +* **TagSet:** modal gradient ([#4478](https://github.com/carbon-design-system/ibm-products/issues/4478)) ([459109d](https://github.com/carbon-design-system/ibm-products/commit/459109d08ca6baf6a66954dd6fa49360dc553dc6)) +* **tearsheet:** slug spacing ([#6023](https://github.com/carbon-design-system/ibm-products/issues/6023)) ([1db6688](https://github.com/carbon-design-system/ibm-products/commit/1db66886b00f9540825988c7397fe6c84411d26a)) +* these at imports should not exist ([#6359](https://github.com/carbon-design-system/ibm-products/issues/6359)) ([3ea78f2](https://github.com/carbon-design-system/ibm-products/commit/3ea78f2cefc632bfec990026418a4851b3f582f0)) +* update Carbon 11 compatible versions to latest ([#6054](https://github.com/carbon-design-system/ibm-products/issues/6054)) ([0ac7669](https://github.com/carbon-design-system/ibm-products/commit/0ac76692a6eeb85655ca64ca9189297708e26bd9)) +* update to Carbon 11 compatible versions to latest ([#5987](https://github.com/carbon-design-system/ibm-products/issues/5987)) ([173e6c6](https://github.com/carbon-design-system/ibm-products/commit/173e6c6455a4fe619d56148ab432926bc6c640a4)) +* update to Carbon 11 compatible versions to latest ([#6214](https://github.com/carbon-design-system/ibm-products/issues/6214)) ([911c341](https://github.com/carbon-design-system/ibm-products/commit/911c341d258b410ff2109ecb39293c2670796a0e)) +* update to Carbon 11 compatible versions to latest ([#6343](https://github.com/carbon-design-system/ibm-products/issues/6343)) ([71a201a](https://github.com/carbon-design-system/ibm-products/commit/71a201a50fbebe76699ffb0d7df1d2d998370256)) +* **UserAvatar:** release review fixes ([#6293](https://github.com/carbon-design-system/ibm-products/issues/6293)) ([eafbba3](https://github.com/carbon-design-system/ibm-products/commit/eafbba33b6c9630457eeb0c6d86d030ee699940f)) + + +### Features + +* **`ibm-products-web-components`:** setup new web component package and storybook ([#6148](https://github.com/carbon-design-system/ibm-products/issues/6148)) ([6962187](https://github.com/carbon-design-system/ibm-products/commit/6962187634ba4317c5a4dcbf495978a176efcb79)) +* **cards:** renames slug to aiLabel ([#6167](https://github.com/carbon-design-system/ibm-products/issues/6167)) ([5b94ed8](https://github.com/carbon-design-system/ibm-products/commit/5b94ed8d01638db747277f104d9f7dd9ab2e0eb3)) +* **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)) +* **Datagrid:** slug to aiLabel renaming ([#6151](https://github.com/carbon-design-system/ibm-products/issues/6151)) ([b0b3c1c](https://github.com/carbon-design-system/ibm-products/commit/b0b3c1cf40199e7458584ea1d9093224264e1f4c)) +* **tagset:** support for size on overflow tag ([#6065](https://github.com/carbon-design-system/ibm-products/issues/6065)) ([ba29c09](https://github.com/carbon-design-system/ibm-products/commit/ba29c0950f1fcc7388e58523e94a32abd588d59d)) +* **Tearsheet:** Slug to aiLabel ([#6169](https://github.com/carbon-design-system/ibm-products/issues/6169)) ([5c0f2ad](https://github.com/carbon-design-system/ibm-products/commit/5c0f2adf55e6c9c7f081dab72ab711b611593476)) + + + + + # [2.49.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-products-styles@2.49.0-rc.0...@carbon/ibm-products-styles@2.49.0) (2024-11-06) **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 23f719b421..b43f63b1a2 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.49.0", + "version": "2.50.0-rc.0", "license": "Apache-2.0", "installConfig": { "hoistingLimits": "none" @@ -52,7 +52,7 @@ "cross-env": "^7.0.3", "glob": "^10.3.10", "jest": "^29.7.0", - "jest-config-ibm-cloud-cognitive": "^1.12.0", + "jest-config-ibm-cloud-cognitive": "^1.13.0-rc.0", "jest-environment-jsdom": "^29.7.0", "npm-check-updates": "^16.14.12", "npm-run-all": "^4.1.5", diff --git a/packages/ibm-products-web-components/CHANGELOG.md b/packages/ibm-products-web-components/CHANGELOG.md index 07e4b71d85..dbd6a80b5c 100644 --- a/packages/ibm-products-web-components/CHANGELOG.md +++ b/packages/ibm-products-web-components/CHANGELOG.md @@ -3,6 +3,28 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 0.3.0-rc.0 (2024-11-11) + + +### Bug Fixes + +* move config to core to follow monorepo docs w/ multiple sites ([#6196](https://github.com/carbon-design-system/ibm-products/issues/6196)) ([fa285b7](https://github.com/carbon-design-system/ibm-products/commit/fa285b743bff65577aece8ebddad6e3a75dff85e)) +* **SidePanel web components:** slide in issue ([#6301](https://github.com/carbon-design-system/ibm-products/issues/6301)) ([3f4e21a](https://github.com/carbon-design-system/ibm-products/commit/3f4e21ae04e772d6687c3295c512dd13979e9bd4)) +* update to Carbon 11 compatible versions to latest ([#6214](https://github.com/carbon-design-system/ibm-products/issues/6214)) ([911c341](https://github.com/carbon-design-system/ibm-products/commit/911c341d258b410ff2109ecb39293c2670796a0e)) +* update to Carbon 11 compatible versions to latest ([#6343](https://github.com/carbon-design-system/ibm-products/issues/6343)) ([71a201a](https://github.com/carbon-design-system/ibm-products/commit/71a201a50fbebe76699ffb0d7df1d2d998370256)) +* use plex cdn to load custom font in wc storybook ([#6213](https://github.com/carbon-design-system/ibm-products/issues/6213)) ([f85396c](https://github.com/carbon-design-system/ibm-products/commit/f85396c7dc06aa1b91039af035e96f02bd5c1ef9)) + + +### Features + +* **`ibm-products-web-components`:** setup new web component package and storybook ([#6148](https://github.com/carbon-design-system/ibm-products/issues/6148)) ([6962187](https://github.com/carbon-design-system/ibm-products/commit/6962187634ba4317c5a4dcbf495978a176efcb79)) +* add conditional deploys for web component and react netlify sites ([#6221](https://github.com/carbon-design-system/ibm-products/issues/6221)) ([8a4255c](https://github.com/carbon-design-system/ibm-products/commit/8a4255c0a0269068f66018d215a7bc07d3015f25)) +* **Tearsheet:** Move Tearsheet into @carbon/ibm-products-web-components ([#6204](https://github.com/carbon-design-system/ibm-products/issues/6204)) ([c21d102](https://github.com/carbon-design-system/ibm-products/commit/c21d102de17c311421884ddc17065f81e2c0f44a)) + + + + + # [0.2.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-products-web-components@0.2.0-rc.0...@carbon/ibm-products-web-components@0.2.0) (2024-11-06) **Note:** Version bump only for package @carbon/ibm-products-web-components diff --git a/packages/ibm-products-web-components/package.json b/packages/ibm-products-web-components/package.json index 056ea3dce5..39202f3fef 100644 --- a/packages/ibm-products-web-components/package.json +++ b/packages/ibm-products-web-components/package.json @@ -1,7 +1,7 @@ { "name": "@carbon/ibm-products-web-components", "description": "Carbon for IBM Products Web Components", - "version": "0.2.0", + "version": "0.3.0-rc.0", "license": "Apache-2.0", "main": "es/index.js", "module": "es/index.js", @@ -49,7 +49,7 @@ "wca": "web-component-analyzer analyze src --outFile custom-elements.json" }, "dependencies": { - "@carbon/ibm-products-styles": "^2.49.0", + "@carbon/ibm-products-styles": "^2.50.0-rc.0", "@carbon/styles": "1.68.0", "@carbon/web-components": "2.16.0", "lit": "^3.1.0" diff --git a/packages/ibm-products/CHANGELOG.md b/packages/ibm-products/CHANGELOG.md index b64fb741e5..67ad6a802d 100644 --- a/packages/ibm-products/CHANGELOG.md +++ b/packages/ibm-products/CHANGELOG.md @@ -3,6 +3,129 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.54.0-rc.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-products@2.48.0-rc.0...@carbon/ibm-products@2.54.0-rc.0) (2024-11-11) + + +### Bug Fixes + +* **AboutModal:** implement useFocus() ([#5981](https://github.com/carbon-design-system/ibm-products/issues/5981)) ([e37beea](https://github.com/carbon-design-system/ibm-products/commit/e37beeafa1f592de3c9a38930487ed7cf4e8239b)) +* add floating ui to tagset ([#6005](https://github.com/carbon-design-system/ibm-products/issues/6005)) ([fac868b](https://github.com/carbon-design-system/ibm-products/commit/fac868b0bb3382aac79ab2780480d58e901da517)) +* add primaryButtonDisabled prop to ProductiveCard ([#6100](https://github.com/carbon-design-system/ibm-products/issues/6100)) ([7d17364](https://github.com/carbon-design-system/ibm-products/commit/7d17364029712bd54fc9f97e7a2c1af0a9e7b381)) +* **API Key Modal:** heading,label and downloadlink ([#6298](https://github.com/carbon-design-system/ibm-products/issues/6298)) ([68cb175](https://github.com/carbon-design-system/ibm-products/commit/68cb17576b7647759e68bd29d543c40c2e205e87)) +* **APIKeyModal:** focus issue inside onBlue default behaviour ([#6347](https://github.com/carbon-design-system/ibm-products/issues/6347)) ([e5a66ce](https://github.com/carbon-design-system/ibm-products/commit/e5a66ce58bcf5f671365f26adf47993a70dd00d1)) +* broken coachmark accessibility tests and avt ([#6398](https://github.com/carbon-design-system/ibm-products/issues/6398)) ([1fe4d81](https://github.com/carbon-design-system/ibm-products/commit/1fe4d815100c0dbaf6b7685f20dd0a4ccfac4bb9)) +* **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)) +* **ConditionBuilder:** correct role for NON HIERARCHICAL_VARIANT ([#6117](https://github.com/carbon-design-system/ibm-products/issues/6117)) ([6c7823e](https://github.com/carbon-design-system/ibm-products/commit/6c7823ed1405d0dfa6ef51cac89e0373f6763ef0)) +* **conditionBuilder:** release review changes1 ([#6133](https://github.com/carbon-design-system/ibm-products/issues/6133)) ([d3f08bc](https://github.com/carbon-design-system/ibm-products/commit/d3f08bcd0b479a84e69fc29dfe03a931618168a7)) +* **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)) +* **CreateFullPage:** breadcrumb tooltip visibility issue ([#6064](https://github.com/carbon-design-system/ibm-products/issues/6064)) ([03eadd2](https://github.com/carbon-design-system/ibm-products/commit/03eadd20c856a18121c5cb516fd49cd2ddc87b6a)) +* **CreateFullPage:** breadcrumbs should be array ([#6058](https://github.com/carbon-design-system/ibm-products/issues/6058)) ([f076047](https://github.com/carbon-design-system/ibm-products/commit/f076047b593235b01b9c4666194c080e0b4a3b4e)), closes [#5707](https://github.com/carbon-design-system/ibm-products/issues/5707) +* **createfullpagestep:** hasFieldset and fieldsetLegendText types ([#6057](https://github.com/carbon-design-system/ibm-products/issues/6057)) ([b5db933](https://github.com/carbon-design-system/ibm-products/commit/b5db933dc668b451451736dc61fc18d35ba38ec5)), closes [#4512](https://github.com/carbon-design-system/ibm-products/issues/4512) +* **CreateTearsheet:** add custom button ([#5666](https://github.com/carbon-design-system/ibm-products/issues/5666)) ([d5f9538](https://github.com/carbon-design-system/ibm-products/commit/d5f9538902233075e38a60abf70efc52838f5804)) +* csp errors on 2 illustrations ([#6202](https://github.com/carbon-design-system/ibm-products/issues/6202)) ([ad8c2d8](https://github.com/carbon-design-system/ibm-products/commit/ad8c2d84b231e9a4a5243cbfafc618fdbb63aace)) +* 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 typescript declarations ([#6122](https://github.com/carbon-design-system/ibm-products/issues/6122)) ([977e279](https://github.com/carbon-design-system/ibm-products/commit/977e279608be3d7151a4f6b58d7006dfbdd7fec3)), closes [#5257](https://github.com/carbon-design-system/ibm-products/issues/5257) [#6115](https://github.com/carbon-design-system/ibm-products/issues/6115) +* **Datagrid:** add support for autoAlign in row resize popover ([#6289](https://github.com/carbon-design-system/ibm-products/issues/6289)) ([17aeb86](https://github.com/carbon-design-system/ibm-products/commit/17aeb86bc2877974fa398b8563f7999d9c3cbce3)) +* **datagrid:** batch no longer updates filter tag ([#6031](https://github.com/carbon-design-system/ibm-products/issues/6031)) ([11c1554](https://github.com/carbon-design-system/ibm-products/commit/11c1554ba92037f559862ad9c83cfdf048074659)) +* **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:** disable save button on customise column ([#6026](https://github.com/carbon-design-system/ibm-products/issues/6026)) ([2b32f0f](https://github.com/carbon-design-system/ibm-products/commit/2b32f0fa54034d347438347e69dfd865c1248f9f)) +* **Datagrid:** enabled spacer column conditionally ([#5920](https://github.com/carbon-design-system/ibm-products/issues/5920)) ([9bd307e](https://github.com/carbon-design-system/ibm-products/commit/9bd307e4836d986383a0464e799834712f3904e0)) +* **datagrid:** fixes multiselect for instant update bug ([#5970](https://github.com/carbon-design-system/ibm-products/issues/5970)) ([330e902](https://github.com/carbon-design-system/ibm-products/commit/330e902c94cf3c8720ddb4360c1ae313c12f756e)) +* **dataGrid:** focus loss on radio select ([#6073](https://github.com/carbon-design-system/ibm-products/issues/6073)) ([127824b](https://github.com/carbon-design-system/ibm-products/commit/127824b9dcdb9847a58940305bb06c35565c720c)) +* **dataGrid:** header scroll issues ([#6135](https://github.com/carbon-design-system/ibm-products/issues/6135)) ([9d60c0c](https://github.com/carbon-design-system/ibm-products/commit/9d60c0cd0f0ab98ba87915eb50a9de2a55dff5a1)) +* **datagrid:** hidden columns included in search results ([#5989](https://github.com/carbon-design-system/ibm-products/issues/5989)) ([189f452](https://github.com/carbon-design-system/ibm-products/commit/189f4522187981788b0eb431b89f8b6e89eecd47)) +* **Datagrid:** remove redundant aria disabled ([#6103](https://github.com/carbon-design-system/ibm-products/issues/6103)) ([5b58d50](https://github.com/carbon-design-system/ibm-products/commit/5b58d506a39b3d625e169004e1385ae9cfcc6985)) +* **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:** resolve CSP in subcomponents ([#6229](https://github.com/carbon-design-system/ibm-products/issues/6229)) ([95c6489](https://github.com/carbon-design-system/ibm-products/commit/95c6489e30e5e20e344eff958e481ee22be9d465)) +* **Datagrid:** return null for older react versions ([#6003](https://github.com/carbon-design-system/ibm-products/issues/6003)) ([6938654](https://github.com/carbon-design-system/ibm-products/commit/6938654a3ec57ea63f69c4390ffa5a290c01d886)) +* **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)) +* **Datagrid:** select all checkbox to select current page ([#5933](https://github.com/carbon-design-system/ibm-products/issues/5933)) ([602f85d](https://github.com/carbon-design-system/ibm-products/commit/602f85d0a3afd507b31157df27091fc94e60bf27)) +* **Datagrid:** select all row count updated to exclude disabled rows ([#6085](https://github.com/carbon-design-system/ibm-products/issues/6085)) ([c7064de](https://github.com/carbon-design-system/ibm-products/commit/c7064de5be480840775039e2e4bdad00fbf8d4ce)) +* **datagrid:** selectall selects disabled rows ([#6008](https://github.com/carbon-design-system/ibm-products/issues/6008)) ([01d973f](https://github.com/carbon-design-system/ibm-products/commit/01d973f95256ee174e59c902e4c46ddc4781b13f)) +* **Datagrid:** skip await getAsyncSubRows when not defined ([#6028](https://github.com/carbon-design-system/ibm-products/issues/6028)) ([7390b55](https://github.com/carbon-design-system/ibm-products/commit/7390b55425aaf1ceff75056bcb81e2d09d61c118)) +* **datagrid:** tooltip missing in Customize Columns modal ([#6036](https://github.com/carbon-design-system/ibm-products/issues/6036)) ([15ec2a5](https://github.com/carbon-design-system/ibm-products/commit/15ec2a5277c9ef1ba1b972b57d050e4af7da2766)) +* **datagrid:** unique name attribute for row settings radio buttons ([#6009](https://github.com/carbon-design-system/ibm-products/issues/6009)) ([618cc84](https://github.com/carbon-design-system/ibm-products/commit/618cc84a372301571df132a21a06051c8d35a33a)) +* **datagrid:** use same empty array every time ([#5999](https://github.com/carbon-design-system/ibm-products/issues/5999)) ([e6ce08b](https://github.com/carbon-design-system/ibm-products/commit/e6ce08b236acf9f7360e01b2ebb5e5a8568afc9c)), closes [#5998](https://github.com/carbon-design-system/ibm-products/issues/5998) +* **Datagrid:** useflexresize infinite redraw ([#6226](https://github.com/carbon-design-system/ibm-products/issues/6226)) ([8030367](https://github.com/carbon-design-system/ibm-products/commit/8030367c4fe90f9ff84db06935553a289518c2e8)), closes [#5920](https://github.com/carbon-design-system/ibm-products/issues/5920) [#5646](https://github.com/carbon-design-system/ibm-products/issues/5646) +* **Datagrid:** width logic for useSortableColumns vs useActionsColumn ([#6029](https://github.com/carbon-design-system/ibm-products/issues/6029)) ([66f9eee](https://github.com/carbon-design-system/ibm-products/commit/66f9eeeb8df559b3f7cc98989853cce3e85f5852)) +* **EditInPlace:** focus and style issue ([#6146](https://github.com/carbon-design-system/ibm-products/issues/6146)) ([831a0bc](https://github.com/carbon-design-system/ibm-products/commit/831a0bc7da65e65c09228cf2b292cbb879484d3a)) +* **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)) +* **Export Modal:** Focus moves to parent page ([#6077](https://github.com/carbon-design-system/ibm-products/issues/6077)) ([ef4bfa8](https://github.com/carbon-design-system/ibm-products/commit/ef4bfa87d454eba9ce8b4cb83a464e95d66a189e)) +* **ExportModal:** focus return to trigger button ([#6116](https://github.com/carbon-design-system/ibm-products/issues/6116)) ([bbc770e](https://github.com/carbon-design-system/ibm-products/commit/bbc770e8fc2415c9dd898ead57bdc332e4fdf339)) +* **ExportModal:** screen reader indentifies hidden controls ([#6079](https://github.com/carbon-design-system/ibm-products/issues/6079)) ([dd7564d](https://github.com/carbon-design-system/ibm-products/commit/dd7564d02dcad68052555eb5b2bf543b4a901992)) +* **ExportModal:** update status message ([#6080](https://github.com/carbon-design-system/ibm-products/issues/6080)) ([ec3dead](https://github.com/carbon-design-system/ibm-products/commit/ec3dead1b2dd6c727e09bcd0356d567721d5209f)) +* 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)) +* **InlineTip:** added optional ? flag on media ([#6137](https://github.com/carbon-design-system/ibm-products/issues/6137)) ([978f3e6](https://github.com/carbon-design-system/ibm-products/commit/978f3e65fff94f6399714fb921e8ef2208a1ec51)) +* nofification panel keyboard close focus ([#6113](https://github.com/carbon-design-system/ibm-products/issues/6113)) ([752739b](https://github.com/carbon-design-system/ibm-products/commit/752739bde31c3dcb5de1ff2702167b7a838350dd)) +* **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)) +* **NotificationPanel:** focus return to trigger on closing notification panel ([#6090](https://github.com/carbon-design-system/ibm-products/issues/6090)) ([6dd626a](https://github.com/carbon-design-system/ibm-products/commit/6dd626ac445a255ca9e7c64eb851c11dbb0117f7)) +* **onboardingComponents:** csp voilation ([#6228](https://github.com/carbon-design-system/ibm-products/issues/6228)) ([6a848b7](https://github.com/carbon-design-system/ibm-products/commit/6a848b7150db52af5891e21066c273b4f9d2d598)) +* **optionstile:** ontoggle should not be required ([#6056](https://github.com/carbon-design-system/ibm-products/issues/6056)) ([af6cf14](https://github.com/carbon-design-system/ibm-products/commit/af6cf147f759f344173baf3350095c319398fe2d)), closes [#4281](https://github.com/carbon-design-system/ibm-products/issues/4281) +* pageheader gap ([#6004](https://github.com/carbon-design-system/ibm-products/issues/6004)) ([97bf3ac](https://github.com/carbon-design-system/ibm-products/commit/97bf3acf41b1ae35875c634cad3315ac5c3d2936)) +* **PageHeader:** change type import ([#6368](https://github.com/carbon-design-system/ibm-products/issues/6368)) ([d653f42](https://github.com/carbon-design-system/ibm-products/commit/d653f42bc06126cb35610a4d85d17655775fc374)) +* **pageheader:** compensate the width of the overflow menu ([#5929](https://github.com/carbon-design-system/ibm-products/issues/5929)) ([baf0ec2](https://github.com/carbon-design-system/ibm-products/commit/baf0ec231c0c343265efbf74b69a9d38db085dd2)) +* **Pageheader:** scrollable headers are not tabbable ([#6145](https://github.com/carbon-design-system/ibm-products/issues/6145)) ([ed578ec](https://github.com/carbon-design-system/ibm-products/commit/ed578ec0d45dcd72a7c96fd1e8370d4a67019ec6)) +* **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)) +* remove ellipsis from EditInPlace ([#6098](https://github.com/carbon-design-system/ibm-products/issues/6098)) ([0b40cce](https://github.com/carbon-design-system/ibm-products/commit/0b40cce8451abd0e509a6b16490fff862496b414)) +* remove title from datagrid expander ([#6200](https://github.com/carbon-design-system/ibm-products/issues/6200)) ([e7e025e](https://github.com/carbon-design-system/ibm-products/commit/e7e025e034fdcbc18f645145031f56ed07e6cced)) +* remove unnecessary props in feature flag tests ([#6342](https://github.com/carbon-design-system/ibm-products/issues/6342)) ([62f3369](https://github.com/carbon-design-system/ibm-products/commit/62f3369fd4431bf0ecd4156530879489899fa8de)) +* Resolve all typescript errors ([#6013](https://github.com/carbon-design-system/ibm-products/issues/6013)) ([e87db88](https://github.com/carbon-design-system/ibm-products/commit/e87db88a5267e2d1bf4703666c86a1b052191ad2)) +* 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)) +* role main removed from components ([#6006](https://github.com/carbon-design-system/ibm-products/issues/6006)) ([b334a51](https://github.com/carbon-design-system/ibm-products/commit/b334a51c4aa1f3bae26554a9e0b1e65b663b0eed)) +* **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)) +* **SidePanel:** resolve focus wrap issue when first element is disabled ([#5991](https://github.com/carbon-design-system/ibm-products/issues/5991)) ([426f588](https://github.com/carbon-design-system/ibm-products/commit/426f588dd8351783e2cad24bde4e2a5e36c64ae7)) +* **SidePanel:** style issue with multi select ([#6123](https://github.com/carbon-design-system/ibm-products/issues/6123)) ([feb6a99](https://github.com/carbon-design-system/ibm-products/commit/feb6a993cb0971442cca80f4c7c86d90eede0bbf)) +* **tagoverflow:** incorrect type for filter prop ([#6000](https://github.com/carbon-design-system/ibm-products/issues/6000)) ([4134043](https://github.com/carbon-design-system/ibm-products/commit/41340439759927a870a335b3dd5dd971e8f44fcb)) +* **TagOverflow:** use operational tag ([#6132](https://github.com/carbon-design-system/ibm-products/issues/6132)) ([791cbec](https://github.com/carbon-design-system/ibm-products/commit/791cbecb2319ce832c1a6341c0a8fbf16b76a3e0)) +* **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)) +* **TagSet:** modal gradient ([#4478](https://github.com/carbon-design-system/ibm-products/issues/4478)) ([459109d](https://github.com/carbon-design-system/ibm-products/commit/459109d08ca6baf6a66954dd6fa49360dc553dc6)) +* **tagset:** multiline prop broken ([#6027](https://github.com/carbon-design-system/ibm-products/issues/6027)) ([dff3d68](https://github.com/carbon-design-system/ibm-products/commit/dff3d68dcdc6801c58d1299e4ffa91b2578e53a4)) +* **tagset:** updates props ([#5962](https://github.com/carbon-design-system/ibm-products/issues/5962)) ([cf7c88c](https://github.com/carbon-design-system/ibm-products/commit/cf7c88c293fa05406837afe68d9775d39998818c)) +* tearsheet with nav accessibility ([#5971](https://github.com/carbon-design-system/ibm-products/issues/5971)) ([d2aeeb2](https://github.com/carbon-design-system/ibm-products/commit/d2aeeb2b8e226f1da45bb8fd8ca45584269574d8)) +* **Tearsheet:** add missing declaration for headerActions prop ([#6114](https://github.com/carbon-design-system/ibm-products/issues/6114)) ([d1dafa1](https://github.com/carbon-design-system/ibm-products/commit/d1dafa1e94472eb64e769ccd358e5355837fa9a5)), closes [#546](https://github.com/carbon-design-system/ibm-products/issues/546) +* **Tearsheet:** changed actions prop to optional ([#5984](https://github.com/carbon-design-system/ibm-products/issues/5984)) ([068a7df](https://github.com/carbon-design-system/ibm-products/commit/068a7df53265e71193ef583145c69d17b3f76535)) +* **tearsheet:** Firefox focuses Tearsheet content div with scroll ([#5973](https://github.com/carbon-design-system/ibm-products/issues/5973)) ([19e319b](https://github.com/carbon-design-system/ibm-products/commit/19e319baff3635fb2d1a54d22cfaa5dfc8e95e23)) +* **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:** resolve focus issue ([#6217](https://github.com/carbon-design-system/ibm-products/issues/6217)) ([dc53a09](https://github.com/carbon-design-system/ibm-products/commit/dc53a099baba3450d769b9e4581c524673529fa0)) +* **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)) +* these at imports should not exist ([#6359](https://github.com/carbon-design-system/ibm-products/issues/6359)) ([3ea78f2](https://github.com/carbon-design-system/ibm-products/commit/3ea78f2cefc632bfec990026418a4851b3f582f0)) +* **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)) +* update Carbon 11 compatible versions to latest ([#6054](https://github.com/carbon-design-system/ibm-products/issues/6054)) ([0ac7669](https://github.com/carbon-design-system/ibm-products/commit/0ac76692a6eeb85655ca64ca9189297708e26bd9)) +* update to Carbon 11 compatible versions to latest ([#5987](https://github.com/carbon-design-system/ibm-products/issues/5987)) ([173e6c6](https://github.com/carbon-design-system/ibm-products/commit/173e6c6455a4fe619d56148ab432926bc6c640a4)) +* update to Carbon 11 compatible versions to latest ([#6214](https://github.com/carbon-design-system/ibm-products/issues/6214)) ([911c341](https://github.com/carbon-design-system/ibm-products/commit/911c341d258b410ff2109ecb39293c2670796a0e)) +* update to Carbon 11 compatible versions to latest ([#6343](https://github.com/carbon-design-system/ibm-products/issues/6343)) ([71a201a](https://github.com/carbon-design-system/ibm-products/commit/71a201a50fbebe76699ffb0d7df1d2d998370256)) +* update toHaveNoAxeViolations and remove skips ([#5955](https://github.com/carbon-design-system/ibm-products/issues/5955)) ([694128b](https://github.com/carbon-design-system/ibm-products/commit/694128bb707a2400d67e6618af3fea3f3ffba86f)) +* **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)) +* **UserAvatar:** release review fixes ([#6293](https://github.com/carbon-design-system/ibm-products/issues/6293)) ([eafbba3](https://github.com/carbon-design-system/ibm-products/commit/eafbba33b6c9630457eeb0c6d86d030ee699940f)) + + +### Features + +* **`ibm-products-web-components`:** setup new web component package and storybook ([#6148](https://github.com/carbon-design-system/ibm-products/issues/6148)) ([6962187](https://github.com/carbon-design-system/ibm-products/commit/6962187634ba4317c5a4dcbf495978a176efcb79)) +* adding the ability to disable modals for TagSet component ([#5753](https://github.com/carbon-design-system/ibm-products/issues/5753)) ([29e960c](https://github.com/carbon-design-system/ibm-products/commit/29e960c858d2c58d46c86e9ea638a351d5fddd76)) +* **cards:** renames slug to aiLabel ([#6167](https://github.com/carbon-design-system/ibm-products/issues/6167)) ([5b94ed8](https://github.com/carbon-design-system/ibm-products/commit/5b94ed8d01638db747277f104d9f7dd9ab2e0eb3)) +* **carousel:** adds test coverage ([#6355](https://github.com/carbon-design-system/ibm-products/issues/6355)) ([32aa2b2](https://github.com/carbon-design-system/ibm-products/commit/32aa2b24dfa792f875002f882c65533e06309d64)) +* **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:** option to default enable with initial state ([#6007](https://github.com/carbon-design-system/ibm-products/issues/6007)) ([3b2b91c](https://github.com/carbon-design-system/ibm-products/commit/3b2b91c63157d748425c1fa85ed70411e2c7e018)) +* **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)) +* **Datagrid:** call onClearFilters when clearing filters from tag summary ([#5892](https://github.com/carbon-design-system/ibm-products/issues/5892)) ([791618a](https://github.com/carbon-design-system/ibm-products/commit/791618a11618f120b15444dde994da65576a79ff)) +* **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)) +* **Datagrid:** slug to aiLabel renaming ([#6151](https://github.com/carbon-design-system/ibm-products/issues/6151)) ([b0b3c1c](https://github.com/carbon-design-system/ibm-products/commit/b0b3c1cf40199e7458584ea1d9093224264e1f4c)) +* **empty-states:** exports types ([#6299](https://github.com/carbon-design-system/ibm-products/issues/6299)) ([436f50d](https://github.com/carbon-design-system/ibm-products/commit/436f50d29f6391593050740803bf14ef01b04335)) +* expose onChange and onPrevious for CreateFullPage ([#6271](https://github.com/carbon-design-system/ibm-products/issues/6271)) ([5bd953d](https://github.com/carbon-design-system/ibm-products/commit/5bd953de33d856b791692b9302a424dc6d10d6a1)) +* **tagset:** support for size on overflow tag ([#6065](https://github.com/carbon-design-system/ibm-products/issues/6065)) ([ba29c09](https://github.com/carbon-design-system/ibm-products/commit/ba29c0950f1fcc7388e58523e94a32abd588d59d)) +* **tag:** updates tags to use DismissibleTag ([#6112](https://github.com/carbon-design-system/ibm-products/issues/6112)) ([18b47c7](https://github.com/carbon-design-system/ibm-products/commit/18b47c72ff381db130897da6a2d1f0aa86fd6d85)) +* **Tearsheet:** Slug to aiLabel ([#6169](https://github.com/carbon-design-system/ibm-products/issues/6169)) ([5c0f2ad](https://github.com/carbon-design-system/ibm-products/commit/5c0f2adf55e6c9c7f081dab72ab711b611593476)) + + + + + # [2.53.0](https://github.com/carbon-design-system/ibm-products/compare/@carbon/ibm-products@2.53.0-rc.0...@carbon/ibm-products@2.53.0) (2024-11-06) **Note:** Version bump only for package @carbon/ibm-products diff --git a/packages/ibm-products/package.json b/packages/ibm-products/package.json index 14b5d2dbd2..1182e57055 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.53.0", + "version": "2.54.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": "^10.3.10", "jest": "^29.7.0", - "jest-config-ibm-cloud-cognitive": "^1.12.0", + "jest-config-ibm-cloud-cognitive": "^1.13.0-rc.0", "jest-environment-jsdom": "^29.7.0", "namor": "^1.1.2", "npm-check-updates": "^16.14.12", @@ -96,7 +96,7 @@ "dependencies": { "@babel/runtime": "^7.23.9", "@carbon/feature-flags": "^0.24.0", - "@carbon/ibm-products-styles": "^2.49.0", + "@carbon/ibm-products-styles": "^2.50.0-rc.0", "@carbon/telemetry": "^0.1.0", "@dnd-kit/core": "^6.0.8", "@dnd-kit/modifiers": "^7.0.0", diff --git a/yarn.lock b/yarn.lock index be18cf4b13..d34f121140 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1799,7 +1799,7 @@ __metadata: resolution: "@carbon/ibm-cloud-cognitive-core@workspace:packages/core" dependencies: "@carbon/grid": "npm:^11.29.0" - "@carbon/ibm-products-styles": "npm:^2.49.0" + "@carbon/ibm-products-styles": "npm:^2.50.0-rc.0" "@carbon/layout": "npm:^11.28.0" "@carbon/motion": "npm:^11.24.0" "@carbon/react": "npm:^1.69.0" @@ -1838,7 +1838,22 @@ __metadata: languageName: unknown linkType: soft -"@carbon/ibm-products-styles@npm:^2.49.0, @carbon/ibm-products-styles@workspace:packages/ibm-products-styles": +"@carbon/ibm-products-styles@npm:^2.49.0": + version: 2.49.0 + resolution: "@carbon/ibm-products-styles@npm:2.49.0" + dependencies: + "@ibm/telemetry-js": "npm:^1.5.0" + peerDependencies: + "@carbon/grid": ^11.28.1 + "@carbon/layout": ^11.27.1 + "@carbon/motion": ^11.23.1 + "@carbon/themes": ^11.42.0 + "@carbon/type": ^11.32.1 + checksum: e9879c6c866a601751cab2430ebded679d82f5c75aa8b3f40c7bc2adcb81b19292a57a1896b89bbdb154ebd2a2b616dff0ff68ccda5e2541f1b586c9615b11a1 + languageName: node + linkType: hard + +"@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: @@ -1848,7 +1863,7 @@ __metadata: cross-env: "npm:^7.0.3" glob: "npm:^10.3.10" jest: "npm:^29.7.0" - jest-config-ibm-cloud-cognitive: "npm:^1.12.0" + jest-config-ibm-cloud-cognitive: "npm:^1.13.0-rc.0" jest-environment-jsdom: "npm:^29.7.0" npm-check-updates: "npm:^16.14.12" npm-run-all: "npm:^4.1.5" @@ -1868,7 +1883,7 @@ __metadata: version: 0.0.0-use.local resolution: "@carbon/ibm-products-web-components@workspace:packages/ibm-products-web-components" dependencies: - "@carbon/ibm-products-styles": "npm:^2.49.0" + "@carbon/ibm-products-styles": "npm:^2.50.0-rc.0" "@carbon/icons": "npm:^11.52.0" "@carbon/motion": "npm:^11.24.0" "@carbon/styles": "npm:1.68.0" @@ -1926,7 +1941,7 @@ __metadata: "@babel/preset-typescript": "npm:^7.21.5" "@babel/runtime": "npm:^7.23.9" "@carbon/feature-flags": "npm:^0.24.0" - "@carbon/ibm-products-styles": "npm:^2.49.0" + "@carbon/ibm-products-styles": "npm:^2.50.0-rc.0" "@carbon/telemetry": "npm:^0.1.0" "@dnd-kit/core": "npm:^6.0.8" "@dnd-kit/modifiers": "npm:^7.0.0" @@ -1951,7 +1966,7 @@ __metadata: glob: "npm:^10.3.10" immutability-helper: "npm:^3.1.1" jest: "npm:^29.7.0" - jest-config-ibm-cloud-cognitive: "npm:^1.12.0" + jest-config-ibm-cloud-cognitive: "npm:^1.13.0-rc.0" jest-environment-jsdom: "npm:^29.7.0" lodash: "npm:^4.17.21" lottie-web: "npm:^5.12.2" @@ -17287,7 +17302,7 @@ __metadata: languageName: node linkType: hard -"jest-config-ibm-cloud-cognitive@npm:^1.12.0, jest-config-ibm-cloud-cognitive@workspace:config/jest-config-ibm-cloud-cognitive": +"jest-config-ibm-cloud-cognitive@npm:^1.13.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: From 81676ea60dea948abdbaa9073c9b5347d0e4ac41 Mon Sep 17 00:00:00 2001 From: Matt Gallo Date: Wed, 13 Nov 2024 09:41:54 -0500 Subject: [PATCH 2/7] chore: bump upload-artifact action to v4 (#6406) * chore: bump upload-artifact action to v4 * chore: pin `upload-artifact` to commit SHA Co-authored-by: elysia * build: pin to commit SHA --------- Co-authored-by: elysia --- .github/workflows/ci.yml | 2 +- .github/workflows/received-pr-review.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2c90cbf7c..51aa7c1f42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -177,7 +177,7 @@ jobs: run: kill ${{ steps.storybook.outputs.pid }} - name: Upload test results if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 #4.4.3 with: name: playwright-avt-report path: .playwright diff --git a/.github/workflows/received-pr-review.yml b/.github/workflows/received-pr-review.yml index d8ab94544c..e82ec14e1a 100644 --- a/.github/workflows/received-pr-review.yml +++ b/.github/workflows/received-pr-review.yml @@ -21,7 +21,7 @@ jobs: echo $JSON > ./pr_data/github.json - name: Upload event data id: upload_artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 #4.4.3 with: name: pr-data-to-process path: pr_data/ From 69b296895cc35695cf6c4c7eb35dd12a9edf2395 Mon Sep 17 00:00:00 2001 From: elysia Date: Wed, 13 Nov 2024 09:42:05 -0500 Subject: [PATCH 3/7] chore: update sass and cross-spawn (#6404) * chore: upgrade sass * chore: update cross-spawn * chore: add coverage to eslintignore --- .eslintignore | 3 + .../package.json | 2 +- packages/core/package.json | 2 +- packages/ibm-products-styles/package.json | 2 +- .../ibm-products-web-components/package.json | 2 +- packages/ibm-products/package.json | 2 +- yarn.lock | 210 ++++++++++++++++-- 7 files changed, 204 insertions(+), 19 deletions(-) diff --git a/.eslintignore b/.eslintignore index cb1b11786f..46a467ac54 100644 --- a/.eslintignore +++ b/.eslintignore @@ -26,6 +26,9 @@ packages/*/examples/* # Story files *.stories.* +# Coverage files +**/coverage/** + # Ignore template files packages/ibm-products/scripts/generate/templates/**/*.js* scripts/example-gallery-builder/update-example/**/*.js* diff --git a/config/jest-config-ibm-cloud-cognitive/package.json b/config/jest-config-ibm-cloud-cognitive/package.json index 9269b7b978..3832387ba7 100644 --- a/config/jest-config-ibm-cloud-cognitive/package.json +++ b/config/jest-config-ibm-cloud-cognitive/package.json @@ -44,6 +44,6 @@ "identity-obj-proxy": "^3.0.0", "jest-circus": "^29.7.0", "jest-watch-typeahead": "^2.0.0", - "sass": "^1.77.2" + "sass": "^1.80.6" } } diff --git a/packages/core/package.json b/packages/core/package.json index 3b1e31b481..ff7217b060 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -60,7 +60,7 @@ "regenerator-runtime": "^0.14.1", "remark-gfm": "^4.0.0", "rimraf": "^5.0.5", - "sass": "^1.77.2", + "sass": "^1.80.6", "storybook": "^8.0.9", "typescript": "^5.3.3", "vite": "^5.2.10" diff --git a/packages/ibm-products-styles/package.json b/packages/ibm-products-styles/package.json index b43f63b1a2..7ef662a384 100644 --- a/packages/ibm-products-styles/package.json +++ b/packages/ibm-products-styles/package.json @@ -57,7 +57,7 @@ "npm-check-updates": "^16.14.12", "npm-run-all": "^4.1.5", "rimraf": "^5.0.5", - "sass": "^1.77.2", + "sass": "^1.80.6", "yargs": "^17.7.2" }, "peerDependencies": { diff --git a/packages/ibm-products-web-components/package.json b/packages/ibm-products-web-components/package.json index 39202f3fef..a35a581d4e 100644 --- a/packages/ibm-products-web-components/package.json +++ b/packages/ibm-products-web-components/package.json @@ -84,7 +84,7 @@ "rimraf": "^5.0.5", "rollup": "^3.29.5", "rollup-plugin-copy": "^3.5.0", - "sass": "^1.77.2", + "sass": "^1.80.6", "storybook": "^8.2.8", "storybook-addon-accessibility-checker": "^3.1.61-rc.3", "typescript": "^5.5.3", diff --git a/packages/ibm-products/package.json b/packages/ibm-products/package.json index 1182e57055..8f976b5c68 100644 --- a/packages/ibm-products/package.json +++ b/packages/ibm-products/package.json @@ -89,7 +89,7 @@ "rimraf": "^5.0.5", "rollup": "^3.29.5", "rollup-plugin-strip-banner": "^3.0.0", - "sass": "^1.77.2", + "sass": "^1.80.6", "typescript-config-carbon": "^0.3.0", "yargs": "^17.7.2" }, diff --git a/yarn.lock b/yarn.lock index d34f121140..2e7eabde70 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1831,7 +1831,7 @@ __metadata: regenerator-runtime: "npm:^0.14.1" remark-gfm: "npm:^4.0.0" rimraf: "npm:^5.0.5" - sass: "npm:^1.77.2" + sass: "npm:^1.80.6" storybook: "npm:^8.0.9" typescript: "npm:^5.3.3" vite: "npm:^5.2.10" @@ -1868,7 +1868,7 @@ __metadata: npm-check-updates: "npm:^16.14.12" npm-run-all: "npm:^4.1.5" rimraf: "npm:^5.0.5" - sass: "npm:^1.77.2" + sass: "npm:^1.80.6" yargs: "npm:^17.7.2" peerDependencies: "@carbon/grid": ^11.29.0 @@ -1916,7 +1916,7 @@ __metadata: rimraf: "npm:^5.0.5" rollup: "npm:^3.29.5" rollup-plugin-copy: "npm:^3.5.0" - sass: "npm:^1.77.2" + sass: "npm:^1.80.6" storybook: "npm:^8.2.8" storybook-addon-accessibility-checker: "npm:^3.1.61-rc.3" typescript: "npm:^5.5.3" @@ -1978,7 +1978,7 @@ __metadata: rimraf: "npm:^5.0.5" rollup: "npm:^3.29.5" rollup-plugin-strip-banner: "npm:^3.0.0" - sass: "npm:^1.77.2" + sass: "npm:^1.80.6" typescript-config-carbon: "npm:^0.3.0" yargs: "npm:^17.7.2" peerDependencies: @@ -5045,6 +5045,150 @@ __metadata: languageName: node linkType: hard +"@parcel/watcher-android-arm64@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-android-arm64@npm:2.5.0" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@parcel/watcher-darwin-arm64@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-darwin-arm64@npm:2.5.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@parcel/watcher-darwin-x64@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-darwin-x64@npm:2.5.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@parcel/watcher-freebsd-x64@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-freebsd-x64@npm:2.5.0" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@parcel/watcher-linux-arm-glibc@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-linux-arm-glibc@npm:2.5.0" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@parcel/watcher-linux-arm-musl@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-linux-arm-musl@npm:2.5.0" + conditions: os=linux & cpu=arm & libc=musl + languageName: node + linkType: hard + +"@parcel/watcher-linux-arm64-glibc@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-linux-arm64-glibc@npm:2.5.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@parcel/watcher-linux-arm64-musl@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-linux-arm64-musl@npm:2.5.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@parcel/watcher-linux-x64-glibc@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-linux-x64-glibc@npm:2.5.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@parcel/watcher-linux-x64-musl@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-linux-x64-musl@npm:2.5.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@parcel/watcher-win32-arm64@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-win32-arm64@npm:2.5.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@parcel/watcher-win32-ia32@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-win32-ia32@npm:2.5.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@parcel/watcher-win32-x64@npm:2.5.0": + version: 2.5.0 + resolution: "@parcel/watcher-win32-x64@npm:2.5.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@parcel/watcher@npm:^2.4.1": + version: 2.5.0 + resolution: "@parcel/watcher@npm:2.5.0" + dependencies: + "@parcel/watcher-android-arm64": "npm:2.5.0" + "@parcel/watcher-darwin-arm64": "npm:2.5.0" + "@parcel/watcher-darwin-x64": "npm:2.5.0" + "@parcel/watcher-freebsd-x64": "npm:2.5.0" + "@parcel/watcher-linux-arm-glibc": "npm:2.5.0" + "@parcel/watcher-linux-arm-musl": "npm:2.5.0" + "@parcel/watcher-linux-arm64-glibc": "npm:2.5.0" + "@parcel/watcher-linux-arm64-musl": "npm:2.5.0" + "@parcel/watcher-linux-x64-glibc": "npm:2.5.0" + "@parcel/watcher-linux-x64-musl": "npm:2.5.0" + "@parcel/watcher-win32-arm64": "npm:2.5.0" + "@parcel/watcher-win32-ia32": "npm:2.5.0" + "@parcel/watcher-win32-x64": "npm:2.5.0" + detect-libc: "npm:^1.0.3" + is-glob: "npm:^4.0.3" + micromatch: "npm:^4.0.5" + node-addon-api: "npm:^7.0.0" + node-gyp: "npm:latest" + dependenciesMeta: + "@parcel/watcher-android-arm64": + optional: true + "@parcel/watcher-darwin-arm64": + optional: true + "@parcel/watcher-darwin-x64": + optional: true + "@parcel/watcher-freebsd-x64": + optional: true + "@parcel/watcher-linux-arm-glibc": + optional: true + "@parcel/watcher-linux-arm-musl": + optional: true + "@parcel/watcher-linux-arm64-glibc": + optional: true + "@parcel/watcher-linux-arm64-musl": + optional: true + "@parcel/watcher-linux-x64-glibc": + optional: true + "@parcel/watcher-linux-x64-musl": + optional: true + "@parcel/watcher-win32-arm64": + optional: true + "@parcel/watcher-win32-ia32": + optional: true + "@parcel/watcher-win32-x64": + optional: true + checksum: 1e28b1aa9a63456ebfa7af3e41297d088bd31d9e32548604f4f26ed96c5808f4330cd515062e879c24a9eaab7894066c8a3951ee30b59e7cbe6786ab2c790dae + languageName: node + linkType: hard + "@pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" @@ -10790,7 +10934,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.4.0, chokidar@npm:^3.6.0": +"chokidar@npm:^3.4.0, chokidar@npm:^3.6.0": version: 3.6.0 resolution: "chokidar@npm:3.6.0" dependencies: @@ -10809,6 +10953,15 @@ __metadata: languageName: node linkType: hard +"chokidar@npm:^4.0.0": + version: 4.0.1 + resolution: "chokidar@npm:4.0.1" + dependencies: + readdirp: "npm:^4.0.1" + checksum: 62749d2173a60cc5632d6c6e0b7024f33aadce47b06d02e55ad03c7b8daaaf2fc85d4296c047473d04387fd992dab9384cc5263c70a3dc3018b7ebecfb5b5217 + languageName: node + linkType: hard + "chownr@npm:^1.1.1": version: 1.1.4 resolution: "chownr@npm:1.1.4" @@ -11736,13 +11889,13 @@ __metadata: linkType: hard "cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": - version: 7.0.3 - resolution: "cross-spawn@npm:7.0.3" + version: 7.0.5 + resolution: "cross-spawn@npm:7.0.5" dependencies: path-key: "npm:^3.1.0" shebang-command: "npm:^2.0.0" which: "npm:^2.0.1" - checksum: e1a13869d2f57d974de0d9ef7acbf69dc6937db20b918525a01dacb5032129bd552d290d886d981e99f1b624cb03657084cc87bd40f115c07ecf376821c729ce + checksum: c95062469d4bdbc1f099454d01c0e77177a3733012d41bf907a71eb8d22d2add43b5adf6a0a14ef4e7feaf804082714d6c262ef4557a1c480b86786c120d18e2 languageName: node linkType: hard @@ -12554,6 +12707,15 @@ __metadata: languageName: node linkType: hard +"detect-libc@npm:^1.0.3": + version: 1.0.3 + resolution: "detect-libc@npm:1.0.3" + bin: + detect-libc: ./bin/detect-libc.js + checksum: 3849fe7720feb153e4ac9407086956e073f1ce1704488290ef0ca8aab9430a8d48c8a9f8351889e7cdc64e5b1128589501e4fef48f3a4a49ba92cd6d112d0757 + languageName: node + linkType: hard + "detect-newline@npm:^3.0.0": version: 3.1.0 resolution: "detect-newline@npm:3.1.0" @@ -17323,7 +17485,7 @@ __metadata: jest-circus: "npm:^29.7.0" jest-watch-typeahead: "npm:^2.0.0" npm-check-updates: "npm:^16.14.12" - sass: "npm:^1.77.2" + sass: "npm:^1.80.6" peerDependencies: jest: ^29.7.0 languageName: unknown @@ -20228,6 +20390,15 @@ __metadata: languageName: node linkType: hard +"node-addon-api@npm:^7.0.0": + version: 7.1.1 + resolution: "node-addon-api@npm:7.1.1" + dependencies: + node-gyp: "npm:latest" + checksum: ee1e1ed6284a2f8cd1d59ac6175ecbabf8978dcf570345e9a8095a9d0a2b9ced591074ae77f9009287b00c402352b38aa9322a34f2199cdc9f567b842a636b94 + languageName: node + linkType: hard + "node-dir@npm:^0.1.17": version: 0.1.17 resolution: "node-dir@npm:0.1.17" @@ -23261,6 +23432,13 @@ __metadata: languageName: node linkType: hard +"readdirp@npm:^4.0.1": + version: 4.0.2 + resolution: "readdirp@npm:4.0.2" + checksum: 4ef93103307c7d5e42e78ecf201db58c984c4d66882a27c956250478b49c2444b1ff6aea8ce0f5e4157b2c07ce2fe870ad16c92ebd7c6ff30391ded6e42b9873 + languageName: node + linkType: hard + "readdirp@npm:~3.6.0": version: 3.6.0 resolution: "readdirp@npm:3.6.0" @@ -24001,16 +24179,20 @@ __metadata: languageName: node linkType: hard -"sass@npm:^1.77.2": - version: 1.77.2 - resolution: "sass@npm:1.77.2" +"sass@npm:^1.80.6": + version: 1.80.6 + resolution: "sass@npm:1.80.6" dependencies: - chokidar: "npm:>=3.0.0 <4.0.0" + "@parcel/watcher": "npm:^2.4.1" + chokidar: "npm:^4.0.0" immutable: "npm:^4.0.0" source-map-js: "npm:>=0.6.2 <2.0.0" + dependenciesMeta: + "@parcel/watcher": + optional: true bin: sass: sass.js - checksum: 4df71f1a01cd59613e7a25bfcec96ddf06e3546c238ba3238b96c6ac0dcf34b9ce238b4de7b39656f6cb0a5e7acccde19f53b521ae4abcdcbe600e0de9c97644 + checksum: a01996fa06bb9249cdae623b9b86930cebfe98fd39bba8700bb76b022e436b83085ef84c22310d44ee6ea5992e13ea86d6422c4b687323bb17ad88597cb39e81 languageName: node linkType: hard From 42a1362ad2ff4998f8286ed0698a82c4ec8ea552 Mon Sep 17 00:00:00 2001 From: Sangeetha Babu Date: Thu, 14 Nov 2024 14:56:22 +0530 Subject: [PATCH 4/7] feat(productive card): floating ui for overflow menu (#6395) * feat(productive card): floating ui for overflow menu * feat(productive card): floating ui overflow * fix(productivecard): test fail fix * fix(productivecard): replace overflowmenuitem with menu item * fix(productivecard): remove cspell * fix(productive card): cspell update * fix(productivecard): update menu position * fix(productivecard): remove comment --- cspell.json | 1 + .../ibm-products/src/components/Card/Card.tsx | 29 ++++++++++--------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/cspell.json b/cspell.json index 042e6ab0eb..774b2c9f64 100644 --- a/cspell.json +++ b/cspell.json @@ -140,6 +140,7 @@ "nonlinearreading", "nonselectablerows", "noreply", + "Overflowmenu", "overridable", "overscan", "overscroll", diff --git a/packages/ibm-products/src/components/Card/Card.tsx b/packages/ibm-products/src/components/Card/Card.tsx index 2f9a842723..20c3eda738 100644 --- a/packages/ibm-products/src/components/Card/Card.tsx +++ b/packages/ibm-products/src/components/Card/Card.tsx @@ -11,8 +11,9 @@ import { Button, IconButton, OverflowMenu, - OverflowMenuItem, + MenuItem, Layer, + unstable_FeatureFlags as FeatureFlags, } from '@carbon/react'; import { CheckmarkOutline, Incomplete } from '@carbon/react/icons'; import PropTypes from 'prop-types'; @@ -169,21 +170,23 @@ export const Card = forwardRef( // actions can either be an overflow menu or series of icons const getActions = () => { if (overflowActions.length > 0) { - const pos = actionsPlacement === 'top' ? 'bottom' : 'top'; + const pos = actionsPlacement === 'top' ? 'bottom-end' : 'top-end'; const size = actionsPlacement === 'top' ? 'sm' : 'md'; return ( - - {overflowActions.map(({ id, ...rest }) => ( - - ))} - + + + {overflowActions.map(({ id, itemText, ...rest }) => ( + + ))} + + ); } From ac6235984e13a67306b769b7673d6fffdbb496e0 Mon Sep 17 00:00:00 2001 From: David Menendez Date: Thu, 14 Nov 2024 08:26:55 -0600 Subject: [PATCH 5/7] chore: datagrid deprecation notice (#6419) * chore: datagrid deprecation notice * fix: additional deprecation items * fix: avt url * fix: avt urls * fix: deprecation wording * fix: deprecation wording * fix: update story structure --- .../Datagrid/Datagrid-test.avt.e2e.js | 4 ++-- .../components/Datagrid/Datagrid.docs-page.js | 1 + .../components/Datagrid/Datagrid.stories.jsx | 24 ++++++++++++++++++- .../src/components/Datagrid/Datagrid.test.js | 8 +++++-- .../components/Datagrid/Datagrid/Datagrid.tsx | 7 ++++++ .../Extensions/AiLabel/AiLabel.stories.jsx | 2 +- .../ClickableRow/ClickableRow.stories.jsx | 2 +- .../ColumnCustomization.stories.jsx | 2 +- .../EditableCell/EditableCell.stories.jsx | 2 +- .../ExpandableRow/ExpandableRow.stories.jsx | 2 +- .../Extensions/Filtering/Flyout.stories.jsx | 2 +- .../Extensions/Filtering/Panel.stories.jsx | 2 +- .../NestedRows/NestedRows.stories.jsx | 2 +- .../RowActionButtons.stories.jsx | 2 +- .../RowHeightSettings.stories.jsx | 2 +- .../src/global/js/utils/StoryDocsPage.js | 11 +++++++++ .../src/global/js/utils/test-helper.js | 5 ++-- 17 files changed, 63 insertions(+), 17 deletions(-) diff --git a/e2e/components/Datagrid/Datagrid-test.avt.e2e.js b/e2e/components/Datagrid/Datagrid-test.avt.e2e.js index 84d1579c4a..9840381506 100644 --- a/e2e/components/Datagrid/Datagrid-test.avt.e2e.js +++ b/e2e/components/Datagrid/Datagrid-test.avt.e2e.js @@ -16,7 +16,7 @@ test.describe('Datagrid @avt', () => { test('@avt-basic-usage', async ({ page }) => { await visitStory(page, { component: 'Datagrid', - id: 'ibm-products-components-datagrid--basic-usage', + id: 'deprecated-datagrid-datagrid--basic-usage', globals: { carbonTheme: 'white', }, @@ -27,7 +27,7 @@ test.describe('Datagrid @avt', () => { test('@avt-open-and-dismiss-sidepanel-onRowClick', async ({ page }) => { await visitStory(page, { component: 'Datagrid', - id: 'ibm-products-components-datagrid-clickablerow--clickable-row-story', + id: 'deprecated-datagrid-datagrid-clickablerow--clickable-row-story', globals: { carbonTheme: 'white', }, diff --git a/packages/ibm-products/src/components/Datagrid/Datagrid.docs-page.js b/packages/ibm-products/src/components/Datagrid/Datagrid.docs-page.js index e8b2ecbce5..ab7451ce49 100644 --- a/packages/ibm-products/src/components/Datagrid/Datagrid.docs-page.js +++ b/packages/ibm-products/src/components/Datagrid/Datagrid.docs-page.js @@ -13,6 +13,7 @@ import toolbarScreenshot from './storybook-assets/datagrid-actions-example.png'; const DocsPage = () => ( ( +
+ + This component is deprecated and will be moving to an + example-based approach. For more information, please refer to the{' '} + + migration documentation + + . +
+ } + > + {story()} + + + ), + ], }; const getColumns = (rows) => { diff --git a/packages/ibm-products/src/components/Datagrid/Datagrid.test.js b/packages/ibm-products/src/components/Datagrid/Datagrid.test.js index 1f70df495f..aa18a8c878 100644 --- a/packages/ibm-products/src/components/Datagrid/Datagrid.test.js +++ b/packages/ibm-products/src/components/Datagrid/Datagrid.test.js @@ -917,7 +917,10 @@ const ActionsColumnExample = ({ beforeAll(() => { jest.spyOn(global.console, 'warn').mockImplementation((message) => { - if (!message.includes('componentWillReceiveProps')) { + if ( + !message.includes('componentWillReceiveProps') && + !message.includes('deprecated') + ) { global.console.warn(message); } }); @@ -1171,7 +1174,8 @@ describe(componentName, () => { ); expect(container.children.length).toEqual(0); jest.spyOn(console, 'error').mockRestore(); - } + }, + 2 ); }); diff --git a/packages/ibm-products/src/components/Datagrid/Datagrid/Datagrid.tsx b/packages/ibm-products/src/components/Datagrid/Datagrid/Datagrid.tsx index 5513e0466d..06dc2d3a1f 100644 --- a/packages/ibm-products/src/components/Datagrid/Datagrid/Datagrid.tsx +++ b/packages/ibm-products/src/components/Datagrid/Datagrid/Datagrid.tsx @@ -34,6 +34,7 @@ export interface DatagridProps { /** * The `Datagrid` component is an extension of Carbon's DataTable component. At the most basic level, the `Datagrid` component takes in columns and rows and renders a data table. There is a set of data table extensions which this component provides support for, these can be found [here](https://pages.github.ibm.com/carbon/ibm-products/components/datagrid/overview/). This component is data driven and allows you to choose what pieces will be included based on the hooks/plugins that are provided. + * @deprecated */ export let Datagrid = React.forwardRef( ( @@ -104,6 +105,12 @@ export let Datagrid = React.forwardRef( } ); +/**@ts-ignore*/ +Datagrid.deprecated = { + level: 'warn', + details: `For more information, please refer to the migration docs https://github.com/carbon-design-system/tanstack-carbon`, +}; + // Return a placeholder if not released and not enabled by feature flag Datagrid = pkg.checkComponentEnabled(Datagrid, componentName); diff --git a/packages/ibm-products/src/components/Datagrid/Extensions/AiLabel/AiLabel.stories.jsx b/packages/ibm-products/src/components/Datagrid/Extensions/AiLabel/AiLabel.stories.jsx index 31abdb9ab1..a54b6163fa 100644 --- a/packages/ibm-products/src/components/Datagrid/Extensions/AiLabel/AiLabel.stories.jsx +++ b/packages/ibm-products/src/components/Datagrid/Extensions/AiLabel/AiLabel.stories.jsx @@ -26,7 +26,7 @@ import { StoryDocsPage } from '../../../../global/js/utils/StoryDocsPage'; import { ExampleAILabel } from '../../utils/ExampleAILabel'; export default { - title: 'IBM Products/Components/Datagrid/AILabel', + title: 'Deprecated/Datagrid/Datagrid/AILabel', component: Datagrid, tags: ['autodocs'], parameters: { diff --git a/packages/ibm-products/src/components/Datagrid/Extensions/ClickableRow/ClickableRow.stories.jsx b/packages/ibm-products/src/components/Datagrid/Extensions/ClickableRow/ClickableRow.stories.jsx index 9188f31cf7..e40444d898 100644 --- a/packages/ibm-products/src/components/Datagrid/Extensions/ClickableRow/ClickableRow.stories.jsx +++ b/packages/ibm-products/src/components/Datagrid/Extensions/ClickableRow/ClickableRow.stories.jsx @@ -30,7 +30,7 @@ import { SidePanel } from '../../../SidePanel'; import { StoryDocsPage } from '../../../../global/js/utils/StoryDocsPage'; export default { - title: 'IBM Products/Components/Datagrid/ClickableRow', + title: 'Deprecated/Datagrid/Datagrid/ClickableRow', component: Datagrid, tags: ['autodocs'], parameters: { diff --git a/packages/ibm-products/src/components/Datagrid/Extensions/ColumnCustomization/ColumnCustomization.stories.jsx b/packages/ibm-products/src/components/Datagrid/Extensions/ColumnCustomization/ColumnCustomization.stories.jsx index c145c4e894..89e8742532 100644 --- a/packages/ibm-products/src/components/Datagrid/Extensions/ColumnCustomization/ColumnCustomization.stories.jsx +++ b/packages/ibm-products/src/components/Datagrid/Extensions/ColumnCustomization/ColumnCustomization.stories.jsx @@ -30,7 +30,7 @@ import { FeatureFlags } from '../../../FeatureFlags'; import { WithFeatureFlags } from '../../../../../../core/.storybook/WithFeatureFlags'; export default { - title: 'IBM Products/Components/Datagrid/ColumnCustomization', + title: 'Deprecated/Datagrid/Datagrid/ColumnCustomization', component: Datagrid, tags: ['autodocs'], parameters: { diff --git a/packages/ibm-products/src/components/Datagrid/Extensions/EditableCell/EditableCell.stories.jsx b/packages/ibm-products/src/components/Datagrid/Extensions/EditableCell/EditableCell.stories.jsx index c015260486..7ce2812ef3 100644 --- a/packages/ibm-products/src/components/Datagrid/Extensions/EditableCell/EditableCell.stories.jsx +++ b/packages/ibm-products/src/components/Datagrid/Extensions/EditableCell/EditableCell.stories.jsx @@ -28,7 +28,7 @@ const blockClass = `${pkg.prefix}--datagrid`; const storybookBlockClass = `storybook-${blockClass}__validation-code-snippet`; export default { - title: 'IBM Products/Components/Datagrid/EditableCell', + title: 'Deprecated/Datagrid/Datagrid/EditableCell', component: Datagrid, tags: ['autodocs'], parameters: { diff --git a/packages/ibm-products/src/components/Datagrid/Extensions/ExpandableRow/ExpandableRow.stories.jsx b/packages/ibm-products/src/components/Datagrid/Extensions/ExpandableRow/ExpandableRow.stories.jsx index 655cf20a04..d15e68425d 100644 --- a/packages/ibm-products/src/components/Datagrid/Extensions/ExpandableRow/ExpandableRow.stories.jsx +++ b/packages/ibm-products/src/components/Datagrid/Extensions/ExpandableRow/ExpandableRow.stories.jsx @@ -26,7 +26,7 @@ import { DocsPage } from './ExpandableRow.docs-page'; import { usePrefix } from '../../../../global/js/hooks'; export default { - title: 'IBM Products/Components/Datagrid/ExpandableRow', + title: 'Deprecated/Datagrid/Datagrid/ExpandableRow', component: Datagrid, tags: ['autodocs'], parameters: { diff --git a/packages/ibm-products/src/components/Datagrid/Extensions/Filtering/Flyout.stories.jsx b/packages/ibm-products/src/components/Datagrid/Extensions/Filtering/Flyout.stories.jsx index 29908a82fc..7eee49314d 100644 --- a/packages/ibm-products/src/components/Datagrid/Extensions/Filtering/Flyout.stories.jsx +++ b/packages/ibm-products/src/components/Datagrid/Extensions/Filtering/Flyout.stories.jsx @@ -18,7 +18,7 @@ import { getDateFormat } from '../../utils/getDateFormat'; import { getFilterProps } from './Panel.stories'; export default { - title: 'IBM Products/Components/Datagrid/Filtering/Flyout', + title: 'Deprecated/Datagrid/Datagrid/Filtering/Flyout', component: Datagrid, tags: ['autodocs'], parameters: { diff --git a/packages/ibm-products/src/components/Datagrid/Extensions/Filtering/Panel.stories.jsx b/packages/ibm-products/src/components/Datagrid/Extensions/Filtering/Panel.stories.jsx index f97daf5ab6..48bcbbb55e 100644 --- a/packages/ibm-products/src/components/Datagrid/Extensions/Filtering/Panel.stories.jsx +++ b/packages/ibm-products/src/components/Datagrid/Extensions/Filtering/Panel.stories.jsx @@ -18,7 +18,7 @@ import { FilteringUsage } from '../../utils/FilteringUsage'; import { getDateFormat } from '../../utils/getDateFormat'; export default { - title: 'IBM Products/Components/Datagrid/Filtering/Panel', + title: 'Deprecated/Datagrid/Datagrid/Filtering/Panel', component: Datagrid, tags: ['autodocs'], parameters: { diff --git a/packages/ibm-products/src/components/Datagrid/Extensions/NestedRows/NestedRows.stories.jsx b/packages/ibm-products/src/components/Datagrid/Extensions/NestedRows/NestedRows.stories.jsx index bf3c6ca3ee..cdfe350540 100644 --- a/packages/ibm-products/src/components/Datagrid/Extensions/NestedRows/NestedRows.stories.jsx +++ b/packages/ibm-products/src/components/Datagrid/Extensions/NestedRows/NestedRows.stories.jsx @@ -33,7 +33,7 @@ const sharedArgTypes = { }; export default { - title: 'IBM Products/Components/Datagrid/NestedRows', + title: 'Deprecated/Datagrid/Datagrid/NestedRows', component: Datagrid, tags: ['autodocs'], parameters: { diff --git a/packages/ibm-products/src/components/Datagrid/Extensions/RowActionButtons/RowActionButtons.stories.jsx b/packages/ibm-products/src/components/Datagrid/Extensions/RowActionButtons/RowActionButtons.stories.jsx index 22548e8709..34f97ac3a6 100644 --- a/packages/ibm-products/src/components/Datagrid/Extensions/RowActionButtons/RowActionButtons.stories.jsx +++ b/packages/ibm-products/src/components/Datagrid/Extensions/RowActionButtons/RowActionButtons.stories.jsx @@ -25,7 +25,7 @@ import { makeData } from '../../utils/makeData'; import { ARG_TYPES } from '../../utils/getArgTypes'; export default { - title: 'IBM Products/Components/Datagrid/RowActionButtons', + title: 'Deprecated/Datagrid/Datagrid/RowActionButtons', component: Datagrid, tags: ['autodocs'], parameters: { diff --git a/packages/ibm-products/src/components/Datagrid/Extensions/RowHeightSettings/RowHeightSettings.stories.jsx b/packages/ibm-products/src/components/Datagrid/Extensions/RowHeightSettings/RowHeightSettings.stories.jsx index e720c4f475..8d59917fba 100644 --- a/packages/ibm-products/src/components/Datagrid/Extensions/RowHeightSettings/RowHeightSettings.stories.jsx +++ b/packages/ibm-products/src/components/Datagrid/Extensions/RowHeightSettings/RowHeightSettings.stories.jsx @@ -19,7 +19,7 @@ import { ARG_TYPES } from '../../utils/getArgTypes'; import { StoryDocsPage } from '../../../../global/js/utils/StoryDocsPage'; export default { - title: 'IBM Products/Components/Datagrid/RowHeightSettings', + title: 'Deprecated/Datagrid/Datagrid/RowHeightSettings', component: Datagrid, tags: ['autodocs'], parameters: { diff --git a/packages/ibm-products/src/global/js/utils/StoryDocsPage.js b/packages/ibm-products/src/global/js/utils/StoryDocsPage.js index c086bef450..95f690d44b 100644 --- a/packages/ibm-products/src/global/js/utils/StoryDocsPage.js +++ b/packages/ibm-products/src/global/js/utils/StoryDocsPage.js @@ -97,6 +97,7 @@ export const StoryDocsPage = ({ blocks, omitCodedExample, omitUnreferencedStories, + deprecationNotice, }) => { const { csfFile } = useOf('meta', ['meta']); @@ -140,6 +141,12 @@ export const StoryDocsPage = ({ ) ) : null} + {deprecationNotice && ( + <> +

Deprecation notice

+ {deprecationNotice} + + )}

Table of contents

@@ -290,6 +297,10 @@ StoryDocsPage.propTypes = { }), }) ), + /** + * Designates a special top level area for important notices or messaging like deprecation + */ + deprecationNotice: PropTypes.string, /** * Set to true if no published example exists (all components and patterns should have an example) */ diff --git a/packages/ibm-products/src/global/js/utils/test-helper.js b/packages/ibm-products/src/global/js/utils/test-helper.js index fa9b93a1ff..d089abf5da 100644 --- a/packages/ibm-products/src/global/js/utils/test-helper.js +++ b/packages/ibm-products/src/global/js/utils/test-helper.js @@ -138,11 +138,12 @@ const makeMatcherArray = (args) => * argument. * @param {Function} test the test function to call, during which the call to * console.warn will be expected. + * @param {number} calls by default the test assumes warn will be called a single time, but it's possible it'll be called more than once */ -export const expectWarn = (message, test) => { +export const expectWarn = (message, test, calls = 1) => { const warn = jest.spyOn(console, 'warn').mockImplementation(jest.fn()); const result = test(); - expect(warn).toBeCalledTimes(1); + expect(warn).toBeCalledTimes(calls); // expect(warn).toHaveBeenCalledWith(...makeMatcherArray(message)); warn.mockRestore(); return result; From 53e5fd123fe2f238a3a66bd407d83ebde029029a Mon Sep 17 00:00:00 2001 From: Nandan Devadula <47176249+devadula-nandan@users.noreply.github.com> Date: Fri, 15 Nov 2024 09:55:43 +0530 Subject: [PATCH 6/7] ci: VRT setup configuration in workflow (#6410) * test(VRT): setup percy vrt in ci * chore: install deps generating yarn lock * chore: cache version update * ci: refactor localhost to storybook-static * chore: revert cache versions * chore: revert a name * test: intentional regression test, pls revert * chore: exclude datagrid stories * fix: syntax error * chore: run vrt in a seperate check * chore: cleanup datagrid excludes * chore: revert checklist regression and added a timeout for snapshot * chore: cleanup and revert checklist regression * test: test commit with regression * chore: upgrade percy cli * test: revert test regression * chore: add snapshot excludes * chore: add 2 more excludes * fix: disable transitions and animations for snapshot * chore: exclude pageheader folder * chore: clean up * build: trigger CI checks * fix: merge conflict * fix: inconsistent snapshots, and clean up * fix: increase tagset timeout * chore: exclude tagset many tags * test: trigger checks test 1 * test: trigger checks test 2 * chore: remove check on feature branch, as its ready for merge --- .github/workflows/ci.yml | 22 ++ .gitignore | 1 + .percy.yml | 17 ++ package.json | 3 +- packages/core/package.json | 2 + .../CreateFullPage/CreateFullPage.stories.jsx | 6 + .../FullPageError/FullPageError.stories.jsx | 3 + .../PageHeader/PageHeader.stories.jsx | 9 +- .../src/components/TagSet/TagSet.stories.jsx | 3 + yarn.lock | 260 +++++++++++++++++- 10 files changed, 319 insertions(+), 7 deletions(-) create mode 100644 .percy.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51aa7c1f42..aaf014e3a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -182,6 +182,28 @@ jobs: name: playwright-avt-report path: .playwright + vrt-runner: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '20.x' + cache: yarn + - name: Install + run: yarn + - name: Install browsers + run: yarn playwright install --with-deps + - name: Build project + run: yarn build + - name: Run VRT + working-directory: packages/core + env: + PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_IBM_PRODUCTS }} + run: yarn percy storybook storybook-static + avt: if: ${{ always() }} runs-on: ubuntu-latest diff --git a/.gitignore b/.gitignore index bb1a2bab8d..ae1dc14e3c 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ logs pids *.pid *.seed +.env # Certificates *.crt diff --git a/.percy.yml b/.percy.yml new file mode 100644 index 0000000000..859929afc9 --- /dev/null +++ b/.percy.yml @@ -0,0 +1,17 @@ +# Percy config +version: 2 +snapshot: + widths: + - 360 + - 1366 + minHeight: 1024 +storybook: + include: ['/IBM Products/'] + exclude: [ + '/Datagrid/*', + '/DataSpreadsheet/', + '/MultiAddSelect: With Avatars/', # avoid dynamic avatar color generation + '/Tag set/TagSet: Hundreds Of Tags', # avoid dynamic tag color generation + '/Page header/PageHeader: Page header with all items, pre-collapsed', # takes random time, to collapse on initial load + '/Tag set/TagSet: Many Tags', # takes time to calculate the overflow, causing random layout shift + ] diff --git a/package.json b/package.json index 14e9a9baf6..31587ffb5a 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,8 @@ "upgrade:dependencies:examples": "npm-check-updates -u --dep dev,peer,prod --color --target minor --packageFile 'scripts/example-gallery-builder/update-example/**/package.json'", "upgrade:automatic": "run-s -s 'upgrade:dependencies:*'", "upgrade:carbon": "npm-check-updates -u --dep dev,peer,prod --packageFile '{package.json,{config/**,packages/**}/package.json}' --filter '/carbon/' --target minor", - "upgrade:manual": "sh ./scripts/monorepo-npm-upgrade.sh" + "upgrade:manual": "sh ./scripts/monorepo-npm-upgrade.sh", + "visual-snapshot": "cd packages/core && yarn percy storybook storybook-static" }, "devDependencies": { "@babel/core": "^7.23.9", diff --git a/packages/core/package.json b/packages/core/package.json index ff7217b060..4a5c454001 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -35,6 +35,8 @@ "@carbon/react": "^1.69.0", "@carbon/themes": "^11.43.0", "@carbon/type": "^11.33.0", + "@percy/cli": "^1.30.1", + "@percy/storybook": "^6.0.0", "@storybook/addon-a11y": "^8.1.10", "@storybook/addon-actions": "^8.0.9", "@storybook/addon-controls": "^8.0.9", diff --git a/packages/ibm-products/src/components/CreateFullPage/CreateFullPage.stories.jsx b/packages/ibm-products/src/components/CreateFullPage/CreateFullPage.stories.jsx index f1031bef63..1108fbfd32 100644 --- a/packages/ibm-products/src/components/CreateFullPage/CreateFullPage.stories.jsx +++ b/packages/ibm-products/src/components/CreateFullPage/CreateFullPage.stories.jsx @@ -55,6 +55,12 @@ export default { layout: 'fullscreen', docs: { page: DocsPage }, controls: { sort: 'requiredFirst' }, + percy: { + waitForSelector: [ + `button.${blockClass}__create-button`, + `.${blockClass}__influencer`, + ], + }, }, decorators: [ (story) =>
{story()}
, diff --git a/packages/ibm-products/src/components/FullPageError/FullPageError.stories.jsx b/packages/ibm-products/src/components/FullPageError/FullPageError.stories.jsx index 4dfab749f4..8ed33d8847 100644 --- a/packages/ibm-products/src/components/FullPageError/FullPageError.stories.jsx +++ b/packages/ibm-products/src/components/FullPageError/FullPageError.stories.jsx @@ -41,6 +41,9 @@ export default { docs: { page: mdx, }, + percy: { + waitForTimeout: 1000, + }, }, }; diff --git a/packages/ibm-products/src/components/PageHeader/PageHeader.stories.jsx b/packages/ibm-products/src/components/PageHeader/PageHeader.stories.jsx index 90b2b71aac..ffc36aa911 100644 --- a/packages/ibm-products/src/components/PageHeader/PageHeader.stories.jsx +++ b/packages/ibm-products/src/components/PageHeader/PageHeader.stories.jsx @@ -373,7 +373,14 @@ export default { title: 'IBM Products/Components/Page header/PageHeader', component: PageHeader, tags: ['autodocs'], - parameters: { styles, layout: 'fullscreen' /* docs: { page: mdx } */ }, + parameters: { + styles, + layout: 'fullscreen', + /* docs: { page: mdx } */ + percy: { + waitForTimeout: 1000, + }, + }, decorators: [ (story, { args }) => (
Date: Fri, 15 Nov 2024 21:37:38 +0530 Subject: [PATCH 7/7] fix: percy temporary fix (#6446) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aaf014e3a8..ca430ab0d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -201,7 +201,7 @@ jobs: - name: Run VRT working-directory: packages/core env: - PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_IBM_PRODUCTS }} + PERCY_TOKEN: web_d04495b0b413d61c2ea6b9118d1748b43f4fdd58d17ebe453ef8e0016b5766e4 run: yarn percy storybook storybook-static avt: