From 137e38067b4f70eec3626daa9affdce1cfa5bea7 Mon Sep 17 00:00:00 2001 From: ylakhdar Date: Thu, 17 Oct 2024 15:24:04 -0400 Subject: [PATCH 1/2] fix script https://coveord.atlassian.net/browse/KIT-3667 --- scripts/ci/find-tests.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/ci/find-tests.mjs b/scripts/ci/find-tests.mjs index a8d0b11bdcb..ccf609fc719 100644 --- a/scripts/ci/find-tests.mjs +++ b/scripts/ci/find-tests.mjs @@ -92,12 +92,12 @@ function determineTestFilesToRun(changedFiles, testDependencies) { function ensureIsNotCoveoPackage(file) { if (dependsOnCoveoPackage(file)) { - throw new Error('Change detected in an different Coveo package.'); + throw new Error(`Change detected in an different Coveo package: ${file}`); } } function dependsOnCoveoPackage(file) { - const externalPackages = ['packages/headless', 'packages/bueno']; + const externalPackages = ['packages/headless/', 'packages/bueno/']; for (const pkg of externalPackages) { if (file.includes(pkg)) { return true; @@ -122,4 +122,5 @@ try { } } catch (error) { console.warn(error?.message || error); + setOutput(outputName, ''); // Passing an empty string will run all tests. } From ca534a2bd386e7a83c161d35634e1689cf0e8862 Mon Sep 17 00:00:00 2001 From: "developer-experience-bot[bot]" <91079284+developer-experience-bot[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:25:13 +0000 Subject: [PATCH 2/2] [Version Bump][skip ci]: ui-kit publish @coveo/atomic@3.5.0 @coveo/atomic-react@3.1.7 @coveo/atomic-angular@3.1.7 @coveo/quantic@3.2.2 **/CHANGELOG.md **/package.json CHANGELOG.md package.json package-lock.json --- package-lock.json | 32 +++++++++---------- packages/atomic-angular/package.json | 2 +- .../projects/atomic-angular/package.json | 4 +-- packages/atomic-react/CHANGELOG.md | 4 +++ packages/atomic-react/package.json | 4 +-- packages/atomic/CHANGELOG.md | 12 +++++++ packages/atomic/package.json | 2 +- packages/quantic/CHANGELOG.md | 4 +++ packages/quantic/package.json | 2 +- packages/samples/angular/package.json | 2 +- packages/samples/atomic-next/package.json | 4 +-- packages/samples/atomic-react/package.json | 4 +-- packages/samples/iife/package.json | 4 +-- packages/samples/stencil/package.json | 2 +- packages/samples/vuejs/package.json | 2 +- 15 files changed, 52 insertions(+), 32 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0c504f531fb..411abc7cc50 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53537,7 +53537,7 @@ }, "packages/atomic": { "name": "@coveo/atomic", - "version": "3.4.0", + "version": "3.5.0", "license": "Apache-2.0", "dependencies": { "@coveo/bueno": "1.0.1", @@ -53655,7 +53655,7 @@ "@angular/platform-browser": "17.3.12", "@angular/platform-browser-dynamic": "17.3.12", "@angular/router": "17.3.12", - "@coveo/atomic": "3.4.0", + "@coveo/atomic": "3.5.0", "rxjs": "7.8.1" }, "devDependencies": { @@ -53707,10 +53707,10 @@ }, "packages/atomic-angular/projects/atomic-angular": { "name": "@coveo/atomic-angular", - "version": "3.1.6", + "version": "3.1.7", "license": "Apache-2.0", "dependencies": { - "@coveo/atomic": "3.4.0", + "@coveo/atomic": "3.5.0", "tslib": "2.6.3" }, "engines": { @@ -53810,9 +53810,9 @@ }, "packages/atomic-react": { "name": "@coveo/atomic-react", - "version": "3.1.6", + "version": "3.1.7", "dependencies": { - "@coveo/atomic": "3.4.0" + "@coveo/atomic": "3.5.0" }, "devDependencies": { "@coveo/release": "1.0.0", @@ -58210,7 +58210,7 @@ }, "packages/quantic": { "name": "@coveo/quantic", - "version": "3.2.1", + "version": "3.2.2", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -60149,7 +60149,7 @@ "@angular/platform-browser": "17.3.12", "@angular/platform-browser-dynamic": "17.3.12", "@angular/router": "17.3.12", - "@coveo/atomic-angular": "3.1.6", + "@coveo/atomic-angular": "3.1.7", "rxjs": "7.8.1", "tslib": "2.6.3", "zone.js": "0.14.8" @@ -60449,8 +60449,8 @@ "name": "@coveo/atomic-next-samples", "version": "0.0.0", "dependencies": { - "@coveo/atomic": "3.4.0", - "@coveo/atomic-react": "3.1.6", + "@coveo/atomic": "3.5.0", + "@coveo/atomic-react": "3.1.7", "@coveo/headless": "3.4.0", "next": "14.2.5", "react": "18.3.1", @@ -60514,8 +60514,8 @@ "name": "@coveo/atomic-react-samples", "version": "0.0.0", "dependencies": { - "@coveo/atomic": "3.4.0", - "@coveo/atomic-react": "3.1.6", + "@coveo/atomic": "3.5.0", + "@coveo/atomic-react": "3.1.7", "@coveo/headless": "3.4.0", "react": "18.3.1", "react-dom": "18.3.1" @@ -64524,9 +64524,9 @@ "version": "0.1.0", "dependencies": { "@babel/standalone": "7.25.0", - "@coveo/atomic": "3.4.0", + "@coveo/atomic": "3.5.0", "@coveo/atomic-hosted-page": "1.0.7", - "@coveo/atomic-react": "3.1.6", + "@coveo/atomic-react": "3.1.7", "@coveo/headless": "3.4.0", "react": "18.3.1", "react-dom": "18.3.1" @@ -64596,7 +64596,7 @@ "name": "@coveo/atomic-stencil-samples", "version": "0.0.0", "dependencies": { - "@coveo/atomic": "3.4.0", + "@coveo/atomic": "3.5.0", "@coveo/bueno": "1.0.1", "@coveo/headless": "3.4.0", "@stencil/core": "4.20.0", @@ -64881,7 +64881,7 @@ "name": "@coveo/atomic-vuejs-samples", "version": "0.0.0", "dependencies": { - "@coveo/atomic": "3.4.0", + "@coveo/atomic": "3.5.0", "vue": "^3.4.15" }, "devDependencies": { diff --git a/packages/atomic-angular/package.json b/packages/atomic-angular/package.json index a0c6584a746..376c8b2c0ff 100644 --- a/packages/atomic-angular/package.json +++ b/packages/atomic-angular/package.json @@ -20,7 +20,7 @@ "@angular/platform-browser": "17.3.12", "@angular/platform-browser-dynamic": "17.3.12", "@angular/router": "17.3.12", - "@coveo/atomic": "3.4.0", + "@coveo/atomic": "3.5.0", "rxjs": "7.8.1" }, "peerDependencies": { diff --git a/packages/atomic-angular/projects/atomic-angular/package.json b/packages/atomic-angular/projects/atomic-angular/package.json index 7ccbf6fbd09..2178ed26697 100644 --- a/packages/atomic-angular/projects/atomic-angular/package.json +++ b/packages/atomic-angular/projects/atomic-angular/package.json @@ -1,6 +1,6 @@ { "name": "@coveo/atomic-angular", - "version": "3.1.6", + "version": "3.1.7", "license": "Apache-2.0", "repository": { "url": "https://github.com/coveo/ui-kit" @@ -11,7 +11,7 @@ "@coveo/headless": "3.4.0" }, "dependencies": { - "@coveo/atomic": "3.4.0", + "@coveo/atomic": "3.5.0", "tslib": "2.6.3" }, "engines": { diff --git a/packages/atomic-react/CHANGELOG.md b/packages/atomic-react/CHANGELOG.md index ec24eb5e323..52947d45a60 100644 --- a/packages/atomic-react/CHANGELOG.md +++ b/packages/atomic-react/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.1.7 (2024-10-18) + +- chore(deps): bump rollup (#4525) ([874286e](https://github.com/coveo/ui-kit/commits/874286e)), closes [#4525](https://github.com/coveo/ui-kit/issues/4525) + ## 3.1.1 (2024-09-24) - docs: document headless, atomic, and atomic-react entry points (#4455) ([3853bdc](https://github.com/coveo/ui-kit/commits/3853bdc)), closes [#4455](https://github.com/coveo/ui-kit/issues/4455) diff --git a/packages/atomic-react/package.json b/packages/atomic-react/package.json index 5d59ed54a9a..ad796f27d65 100644 --- a/packages/atomic-react/package.json +++ b/packages/atomic-react/package.json @@ -2,7 +2,7 @@ "name": "@coveo/atomic-react", "sideEffects": false, "type": "module", - "version": "3.1.6", + "version": "3.1.7", "description": "React specific wrapper for the Atomic component library", "repository": { "type": "git", @@ -30,7 +30,7 @@ "commerce/" ], "dependencies": { - "@coveo/atomic": "3.4.0" + "@coveo/atomic": "3.5.0" }, "devDependencies": { "@coveo/release": "1.0.0", diff --git a/packages/atomic/CHANGELOG.md b/packages/atomic/CHANGELOG.md index 3d8c2882dcd..c83dba4757a 100644 --- a/packages/atomic/CHANGELOG.md +++ b/packages/atomic/CHANGELOG.md @@ -1,3 +1,15 @@ +## 3.5.0 (2024-10-18) + +- chore(deps): bump rollup (#4525) ([874286e](https://github.com/coveo/ui-kit/commits/874286e)), closes [#4525](https://github.com/coveo/ui-kit/issues/4525) +- fix(atomic): broken HTML because of formatting in CRGA markdown heading (#4522) ([9e15c6c](https://github.com/coveo/ui-kit/commits/9e15c6c)), closes [#4522](https://github.com/coveo/ui-kit/issues/4522) [/github.com/coveo/ui-kit/blob/master/packages/atomic/src/components/common/generated-answer/generated-content/markdown-utils.ts#L50](https://github.com//github.com/coveo/ui-kit/blob/master/packages/atomic/src/components/common/generated-answer/generated-content/markdown-utils.ts/issues/L50) +- fix(atomic): delete ./loader/package.json when building atomic (#4539) ([c39f716](https://github.com/coveo/ui-kit/commits/c39f716)), closes [#4539](https://github.com/coveo/ui-kit/issues/4539) +- fix(atomic): fix layout issue on product variants with imageSize set to none (#4521) ([cbfca7f](https://github.com/coveo/ui-kit/commits/cbfca7f)), closes [#4521](https://github.com/coveo/ui-kit/issues/4521) +- fix(atomic): prevent clicks on atomic-product-image indicators from opening the product page (#4534) ([4d53962](https://github.com/coveo/ui-kit/commits/4d53962)), closes [#4534](https://github.com/coveo/ui-kit/issues/4534) +- fix(atomic): prevent touch events on atomic-product-children from opening the product page (#4533) ([7739951](https://github.com/coveo/ui-kit/commits/7739951)), closes [#4533](https://github.com/coveo/ui-kit/issues/4533) +- fix(insight): error "getAllFacets is undefined" in insight panel interface (#4474) ([836ef3a](https://github.com/coveo/ui-kit/commits/836ef3a)), closes [#4474](https://github.com/coveo/ui-kit/issues/4474) +- feat(atomic): remove imageAltField as an array option & use image alt field prior to image not found ([ee7e1d9](https://github.com/coveo/ui-kit/commits/ee7e1d9)), closes [#4511](https://github.com/coveo/ui-kit/issues/4511) +- test(atomic): fix failing atomic-color-facet test because of source change (#4543) ([c423e15](https://github.com/coveo/ui-kit/commits/c423e15)), closes [#4543](https://github.com/coveo/ui-kit/issues/4543) + ## 3.4.0 (2024-10-16) - fix(atomic): add hover effect for atomic-product clickable element in mobile/grid (#4519) ([0828b1f](https://github.com/coveo/ui-kit/commits/0828b1f)), closes [#4519](https://github.com/coveo/ui-kit/issues/4519) diff --git a/packages/atomic/package.json b/packages/atomic/package.json index 697c058ec44..a2650d55464 100644 --- a/packages/atomic/package.json +++ b/packages/atomic/package.json @@ -1,7 +1,7 @@ { "name": "@coveo/atomic", "type": "module", - "version": "3.4.0", + "version": "3.5.0", "description": "A web-component library for building modern UIs interfacing with the Coveo platform", "homepage": "https://docs.coveo.com/en/atomic/latest/", "repository": { diff --git a/packages/quantic/CHANGELOG.md b/packages/quantic/CHANGELOG.md index 948d126cb42..81fdafbc1a3 100644 --- a/packages/quantic/CHANGELOG.md +++ b/packages/quantic/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.2.2 (2024-10-18) + +- fix(atomic): broken HTML because of formatting in CRGA markdown heading (#4522) ([9e15c6c](https://github.com/coveo/ui-kit/commits/9e15c6c)), closes [#4522](https://github.com/coveo/ui-kit/issues/4522) [/github.com/coveo/ui-kit/blob/master/packages/atomic/src/components/common/generated-answer/generated-content/markdown-utils.ts#L50](https://github.com//github.com/coveo/ui-kit/blob/master/packages/atomic/src/components/common/generated-answer/generated-content/markdown-utils.ts/issues/L50) + ## 3.2.1 (2024-10-16) - chore(quantic): skip consistently failing quantic tests (#4540) ([4a1b1f6](https://github.com/coveo/ui-kit/commits/4a1b1f6)), closes [#4540](https://github.com/coveo/ui-kit/issues/4540) diff --git a/packages/quantic/package.json b/packages/quantic/package.json index 82d83d510dd..7bbd4800447 100644 --- a/packages/quantic/package.json +++ b/packages/quantic/package.json @@ -1,6 +1,6 @@ { "name": "@coveo/quantic", - "version": "3.2.1", + "version": "3.2.2", "description": "A Salesforce Lightning Web Component (LWC) library for building modern UIs interfacing with the Coveo platform", "author": "coveo.com", "homepage": "https://coveo.com", diff --git a/packages/samples/angular/package.json b/packages/samples/angular/package.json index 6eeee45f6e6..45b4d9a0f7b 100644 --- a/packages/samples/angular/package.json +++ b/packages/samples/angular/package.json @@ -19,7 +19,7 @@ "@angular/platform-browser": "17.3.12", "@angular/platform-browser-dynamic": "17.3.12", "@angular/router": "17.3.12", - "@coveo/atomic-angular": "3.1.6", + "@coveo/atomic-angular": "3.1.7", "rxjs": "7.8.1", "tslib": "2.6.3", "zone.js": "0.14.8" diff --git a/packages/samples/atomic-next/package.json b/packages/samples/atomic-next/package.json index dd0d67b5336..c716f0e5175 100644 --- a/packages/samples/atomic-next/package.json +++ b/packages/samples/atomic-next/package.json @@ -4,8 +4,8 @@ "private": true, "type": "module", "dependencies": { - "@coveo/atomic": "3.4.0", - "@coveo/atomic-react": "3.1.6", + "@coveo/atomic": "3.5.0", + "@coveo/atomic-react": "3.1.7", "@coveo/headless": "3.4.0", "next": "14.2.5", "react": "18.3.1", diff --git a/packages/samples/atomic-react/package.json b/packages/samples/atomic-react/package.json index 12edd1a08ff..ff424621ad9 100644 --- a/packages/samples/atomic-react/package.json +++ b/packages/samples/atomic-react/package.json @@ -4,8 +4,8 @@ "description": "Samples with atomic-react", "private": true, "dependencies": { - "@coveo/atomic": "3.4.0", - "@coveo/atomic-react": "3.1.6", + "@coveo/atomic": "3.5.0", + "@coveo/atomic-react": "3.1.7", "@coveo/headless": "3.4.0", "react": "18.3.1", "react-dom": "18.3.1" diff --git a/packages/samples/iife/package.json b/packages/samples/iife/package.json index e7a493af687..c6974be6d5f 100644 --- a/packages/samples/iife/package.json +++ b/packages/samples/iife/package.json @@ -12,9 +12,9 @@ }, "dependencies": { "@babel/standalone": "7.25.0", - "@coveo/atomic": "3.4.0", + "@coveo/atomic": "3.5.0", "@coveo/atomic-hosted-page": "1.0.7", - "@coveo/atomic-react": "3.1.6", + "@coveo/atomic-react": "3.1.7", "@coveo/headless": "3.4.0", "react": "18.3.1", "react-dom": "18.3.1" diff --git a/packages/samples/stencil/package.json b/packages/samples/stencil/package.json index eb7e698fe73..74795cc527a 100644 --- a/packages/samples/stencil/package.json +++ b/packages/samples/stencil/package.json @@ -8,7 +8,7 @@ "e2e:watch": "cypress open --browser chrome --e2e" }, "dependencies": { - "@coveo/atomic": "3.4.0", + "@coveo/atomic": "3.5.0", "@coveo/bueno": "1.0.1", "@coveo/headless": "3.4.0", "@stencil/core": "4.20.0", diff --git a/packages/samples/vuejs/package.json b/packages/samples/vuejs/package.json index 2fe855e34b5..69beac68385 100644 --- a/packages/samples/vuejs/package.json +++ b/packages/samples/vuejs/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "vue": "^3.4.15", - "@coveo/atomic": "3.4.0" + "@coveo/atomic": "3.5.0" }, "devDependencies": { "@vitejs/plugin-vue": "^5.0.3",