From e3b77762f6d6a2434860cc60218a4b56e3b542e5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Aug 2024 11:05:05 -0400 Subject: [PATCH 01/10] chore(deps): update actions/upload-artifact digest to 89ef406 j:kit-282 (#4252) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/upload-artifact](https://togithub.com/actions/upload-artifact) | action | digest | `0b2256b` -> `89ef406` | --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/coveo/ui-kit). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/actions/merge-playwright-reports/action.yml | 2 +- .github/actions/playwright-atomic-hosted-pages/action.yml | 2 +- .github/actions/playwright-atomic/action.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/merge-playwright-reports/action.yml b/.github/actions/merge-playwright-reports/action.yml index 3e081b6ba70..57bffa4012a 100644 --- a/.github/actions/merge-playwright-reports/action.yml +++ b/.github/actions/merge-playwright-reports/action.yml @@ -15,7 +15,7 @@ runs: shell: bash - name: Upload HTML report - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4 + uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4 with: name: atomic-playwright-report path: packages/atomic/playwright-report diff --git a/.github/actions/playwright-atomic-hosted-pages/action.yml b/.github/actions/playwright-atomic-hosted-pages/action.yml index 03a9ab42960..0fde5a2f7b1 100644 --- a/.github/actions/playwright-atomic-hosted-pages/action.yml +++ b/.github/actions/playwright-atomic-hosted-pages/action.yml @@ -11,7 +11,7 @@ runs: run: npx playwright test working-directory: packages/atomic-hosted-page shell: bash - - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4 + - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4 if: always() with: name: atomic-hosted-page-playwright-report diff --git a/.github/actions/playwright-atomic/action.yml b/.github/actions/playwright-atomic/action.yml index e17341fb3db..c6e4fc4e479 100644 --- a/.github/actions/playwright-atomic/action.yml +++ b/.github/actions/playwright-atomic/action.yml @@ -18,7 +18,7 @@ runs: run: npx playwright test --shard=${{ inputs.shardIndex }}/${{ inputs.shardTotal }} working-directory: packages/atomic shell: bash - - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4 + - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4 if: always() with: name: blob-report-${{ matrix.shardIndex }} From bc2f42a6a2d10d97cb3dda54ad15c22e3db34a3e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Aug 2024 11:06:12 -0400 Subject: [PATCH 02/10] fix(deps): update dependency react-router-dom to v6.26.0 j:kit-282 (#4255) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-router-dom](https://togithub.com/remix-run/react-router) ([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router-dom)) | [`6.25.1` -> `6.26.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.25.1/6.26.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.25.1/6.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.25.1/6.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
remix-run/react-router (react-router-dom) ### [`v6.26.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6260) [Compare Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.25.1...react-router-dom@6.26.0) ##### Minor Changes - Add a new `replace(url, init?)` alternative to `redirect(url, init?)` that performs a `history.replaceState` instead of a `history.pushState` on client-side navigation redirects ([#​11811](https://togithub.com/remix-run/react-router/pull/11811)) ##### Patch Changes - Fix initial hydration behavior when using `future.v7_partialHydration` along with `unstable_patchRoutesOnMiss` ([#​11838](https://togithub.com/remix-run/react-router/pull/11838)) - During initial hydration, `router.state.matches` will now include any partial matches so that we can render ancestor `HydrateFallback` components - Updated dependencies: - `@remix-run/router@1.19.0` - `react-router@6.26.0`
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/coveo/ui-kit). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 26 ++++++++++---------- packages/samples/headless-react/package.json | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index f7dac3070c0..1416049a9d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11409,9 +11409,9 @@ } }, "node_modules/@remix-run/router": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.18.0.tgz", - "integrity": "sha512-L3jkqmqoSVBVKHfpGZmLrex0lxR5SucGA0sUfFzGctehw+S/ggL9L/0NnC5mw6P8HUWpFZ3nQw3cRApjjWx9Sw==", + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.0.tgz", + "integrity": "sha512-zDICCLKEwbVYTS6TjYaWtHXxkdoUvD/QXvyVZjGCsWz5vyH7aFeONlPffPdW+Y/t6KT0MgXb2Mfjun9YpWN1dA==", "license": "MIT", "engines": { "node": ">=14.0.0" @@ -48258,12 +48258,12 @@ } }, "node_modules/react-router": { - "version": "6.25.1", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.25.1.tgz", - "integrity": "sha512-u8ELFr5Z6g02nUtpPAggP73Jigj1mRePSwhS/2nkTrlPU5yEkH1vYzWNyvSnSzeeE2DNqWdH+P8OhIh9wuXhTw==", + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.0.tgz", + "integrity": "sha512-wVQq0/iFYd3iZ9H2l3N3k4PL8EEHcb0XlU2Na8nEwmiXgIUElEH6gaJDtUQxJ+JFzmIXaQjfdpcGWaM6IoQGxg==", "license": "MIT", "dependencies": { - "@remix-run/router": "1.18.0" + "@remix-run/router": "1.19.0" }, "engines": { "node": ">=14.0.0" @@ -48273,13 +48273,13 @@ } }, "node_modules/react-router-dom": { - "version": "6.25.1", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.25.1.tgz", - "integrity": "sha512-0tUDpbFvk35iv+N89dWNrJp+afLgd+y4VtorJZuOCXK0kkCWjEvb3vTJM++SYvMEpbVwXKf3FjeVveVEb6JpDQ==", + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.0.tgz", + "integrity": "sha512-RRGUIiDtLrkX3uYcFiCIxKFWMcWQGMojpYZfcstc63A1+sSnVgILGIm9gNUA6na3Fm1QuPGSBQH2EMbAZOnMsQ==", "license": "MIT", "dependencies": { - "@remix-run/router": "1.18.0", - "react-router": "6.25.1" + "@remix-run/router": "1.19.0", + "react-router": "6.26.0" }, "engines": { "node": ">=14.0.0" @@ -63894,7 +63894,7 @@ "jest-watch-typeahead": "2.2.2", "react": "18.3.1", "react-dom": "18.3.1", - "react-router-dom": "6.25.1", + "react-router-dom": "6.26.0", "react-scripts": "5.0.1", "typescript": "5.4.5", "web-vitals": "3.5.2" diff --git a/packages/samples/headless-react/package.json b/packages/samples/headless-react/package.json index c69e14f8c52..e3645aaa40d 100644 --- a/packages/samples/headless-react/package.json +++ b/packages/samples/headless-react/package.json @@ -22,7 +22,7 @@ "jest-watch-typeahead": "2.2.2", "react": "18.3.1", "react-dom": "18.3.1", - "react-router-dom": "6.25.1", + "react-router-dom": "6.26.0", "react-scripts": "5.0.1", "typescript": "5.4.5", "web-vitals": "3.5.2" From 4c2b08f5aeb5bda746ce0f6cf5219cf34029d460 Mon Sep 17 00:00:00 2001 From: Louis Bompart Date: Tue, 6 Aug 2024 12:03:21 -0400 Subject: [PATCH 03/10] refactor(story): fold render-template into render-component (#4236) https://coveord.atlassian.net/browse/KIT-3447 Review by commit :) --------- Co-authored-by: Frederic Beaudoin Co-authored-by: GitHub Actions Bot <> Co-authored-by: Alex Prudhomme <78121423+alexprudhomme@users.noreply.github.com> --- package-lock.json | 73 ++++++++--- package.json | 3 +- packages/atomic-hosted-page/package.json | 2 +- packages/atomic/package.json | 6 +- packages/atomic/src/components.d.ts | 24 +++- .../atomic-commerce-breadbox.new.stories.tsx | 6 +- .../atomic-commerce-interface.new.stories.tsx | 4 +- ...ommerce-load-more-products.new.stories.tsx | 6 +- ...tomic-commerce-no-products.new.stories.tsx | 6 +- .../atomic-commerce-pager.new.stories.tsx | 6 +- ...omic-commerce-product-list.new.stories.tsx | 6 +- ...commerce-products-per-page.new.stories.tsx | 6 +- ...tomic-commerce-query-error.new.stories.tsx | 6 +- ...mic-commerce-query-summary.new.stories.tsx | 6 +- ...atomic-commerce-search-box.new.stories.tsx | 6 +- .../atomic-commerce-text.new.stories.tsx | 6 +- ...ic-commerce-category-facet.new.stories.tsx | 6 +- .../atomic-commerce-facet.new.stories.tsx | 6 +- .../atomic-commerce-facets.new.stories.tsx | 6 +- ...mic-commerce-numeric-facet.new.stories.tsx | 6 +- .../product-template-common.spec.ts.snap | 12 ++ .../atomic-product-template.new.stories.tsx | 120 +++++++----------- .../atomic-product-template.tsx | 8 ++ .../product-template-common.spec.ts | 25 ++++ .../product-template-common.tsx | 13 ++ ...c-commerce-search-box-instant-products.tsx | 1 + .../atomic-icon/atomic-icon.new.stories.tsx | 6 +- .../atomic-numeric-range.new.stories.tsx | 6 +- .../atomic-timeframe.new.stories.tsx | 6 +- .../atomic-recs-list.new.stories.tsx | 6 +- .../atomic-breadbox.new.stories.tsx | 6 +- .../atomic-did-you-mean.new.stories.tsx | 6 +- .../atomic-facet-manager.new.stories.tsx | 6 +- .../atomic-load-more-results.new.stories.tsx | 6 +- .../atomic-no-results.new.stories.tsx | 6 +- .../atomic-notifications.new.stories.tsx | 6 +- .../atomic-pager/atomic-pager.new.stories.tsx | 6 +- .../atomic-query-error.new.stories.tsx | 6 +- .../atomic-query-summary.new.stories.tsx | 6 +- .../atomic-refine-toggle.new.stories.tsx | 6 +- .../atomic-results-per-page.new.stories.tsx | 6 +- .../atomic-search-box.new.stories.tsx | 6 +- .../atomic-sort-dropdown.new.stories.tsx | 6 +- .../atomic-sort-expression.new.stories.tsx | 6 +- ...-automatic-facet-generator.new.stories.tsx | 6 +- .../atomic-category-facet.new.stories.tsx | 6 +- .../atomic-color-facet.new.stories.tsx | 8 +- .../atomic-facet/atomic-facet.new.stories.tsx | 8 +- .../atomic-numeric-facet.new.stories.tsx | 8 +- .../atomic-popover.new.stories.tsx | 6 +- .../atomic-rating-facet.new.stories.tsx | 8 +- .../atomic-rating-range-facet.new.stories.tsx | 8 +- .../atomic-segmented-facet.new.stories.tsx | 6 +- .../atomic-segmented-facet.new.stories.tsx | 6 +- .../atomic-timeframe-facet.new.stories.tsx | 8 +- .../atomic-format-currency.new.stories.tsx | 8 +- .../atomic-format-number.new.stories.tsx | 8 +- .../atomic-format-unit.new.stories.tsx | 8 +- .../atomic-folded-result-list.new.stories.tsx | 6 +- .../atomic-result-list.new.stories.tsx | 6 +- .../atomic-field-condition.new.stories.tsx | 8 +- .../atomic-quickview.new.stories.tsx | 8 +- .../atomic-result-badge.new.stories.tsx | 8 +- .../atomic-result-date.new.stories.tsx | 8 +- .../atomic-result-field-list.new.stories.tsx | 8 +- .../atomic-result-html.new.stories.tsx | 8 +- .../atomic-result-icon.new.stories.tsx | 8 +- .../atomic-result-image.new.stories.tsx | 8 +- .../atomic-result-link.new.stories.tsx | 8 +- ...ic-result-multi-value-text.new.stories.tsx | 8 +- .../atomic-result-number.new.stories.tsx | 8 +- ...tomic-result-printable-uri.new.stories.tsx | 8 +- .../atomic-result-rating.new.stories.tsx | 8 +- .../atomic-result-text.new.stories.tsx | 8 +- .../atomic-result-timespan.new.stories.tsx | 8 +- ...search-box-instant-results.new.stories.tsx | 6 +- ...search-box-instant-results.new.stories.tsx | 6 +- ...-search-box-recent-queries.new.stories.tsx | 6 +- ...-smart-snippet-suggestions.new.stories.tsx | 6 +- .../atomic-smart-snippet.new.stories.tsx | 6 +- .../atomic-tab-manager.new.stories.tsx | 6 +- .../atomic-commerce-product-list-wrapper.tsx | 18 +++ ...c-commerce-recommendation-list-wrapper.tsx | 16 +++ ...rce-searchbox-instant-products-wrapper.tsx | 22 ++++ .../commerce-interface-wrapper.tsx | 2 +- ...merce-recommendation-interface-wrapper.tsx | 2 +- .../{ => common}/common-meta-parameters.ts | 0 .../{ => common}/facets-decorator.tsx | 0 .../{ => common}/render-component.tsx | 44 ++++--- .../atomic/storybookUtils/render-template.tsx | 60 --------- .../{ => search}/recs-interface-wrapper.tsx | 2 +- .../{ => search}/result-wrapper.tsx | 2 +- .../{ => search}/search-interface-wrapper.tsx | 2 +- packages/atomic/tsconfig.json | 2 +- packages/atomic/tsconfig.storybook.json | 2 + packages/samples/stencil/package.json | 2 +- ....19.2.patch => @stencil+core+4.20.0.patch} | 22 ++-- 97 files changed, 518 insertions(+), 433 deletions(-) create mode 100644 packages/atomic/src/components/commerce/product-template/__snapshots__/product-template-common.spec.ts.snap create mode 100644 packages/atomic/src/components/commerce/product-template/product-template-common.spec.ts create mode 100644 packages/atomic/storybookUtils/commerce/atomic-commerce-product-list-wrapper.tsx create mode 100644 packages/atomic/storybookUtils/commerce/atomic-commerce-recommendation-list-wrapper.tsx create mode 100644 packages/atomic/storybookUtils/commerce/atomic-commerce-searchbox-instant-products-wrapper.tsx rename packages/atomic/storybookUtils/{ => commerce}/commerce-interface-wrapper.tsx (98%) rename packages/atomic/storybookUtils/{ => commerce}/commerce-recommendation-interface-wrapper.tsx (96%) rename packages/atomic/storybookUtils/{ => common}/common-meta-parameters.ts (100%) rename packages/atomic/storybookUtils/{ => common}/facets-decorator.tsx (100%) rename packages/atomic/storybookUtils/{ => common}/render-component.tsx (57%) delete mode 100644 packages/atomic/storybookUtils/render-template.tsx rename packages/atomic/storybookUtils/{ => search}/recs-interface-wrapper.tsx (96%) rename packages/atomic/storybookUtils/{ => search}/result-wrapper.tsx (97%) rename packages/atomic/storybookUtils/{ => search}/search-interface-wrapper.tsx (96%) rename patches/{@stencil+core+4.19.2.patch => @stencil+core+4.20.0.patch} (67%) diff --git a/package-lock.json b/package-lock.json index 1416049a9d9..70e9196b716 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12384,9 +12384,9 @@ } }, "node_modules/@stencil/core": { - "version": "4.19.2", - "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.19.2.tgz", - "integrity": "sha512-ZdnbHmHEl8E5vN0GWDtONe5w6j3CrSqqxZM4hNLBPkV/aouWKug7D5/Mi6RazfYO5U4fmHQYLwMz60rHcx0G4g==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.20.0.tgz", + "integrity": "sha512-WPrTHFngvN081RY+dJPneKQLwnOFD60OMCOQGmmSHfCW0f4ujPMzzhwWU1gcSwXPWXz5O+8cBiiCaxAbJU7kAg==", "license": "MIT", "bin": { "stencil": "bin/stencil" @@ -21418,6 +21418,12 @@ "integrity": "sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==", "dev": true }, + "node_modules/@types/core-js": { + "version": "2.5.8", + "resolved": "https://registry.npmjs.org/@types/core-js/-/core-js-2.5.8.tgz", + "integrity": "sha512-VgnAj6tIAhJhZdJ8/IpxdatM8G4OD3VWGlp6xIxUGENZlpbob9Ty4VVdC1FIEp0aK6DBscDDjyzy5FB60TuNqg==", + "dev": true + }, "node_modules/@types/cors": { "version": "2.8.17", "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.17.tgz", @@ -55798,8 +55804,8 @@ "@coveo/bueno": "0.46.1", "@popperjs/core": "^2.11.6", "@salesforce-ux/design-system": "^2.16.1", - "@stencil/core": "4.19.2", "@stencil/store": "2.0.16", + "core-js": "3.37.1", "dayjs": "1.11.12", "dompurify": "3.1.6", "escape-html": "1.0.3", @@ -55827,6 +55833,7 @@ "@rollup/plugin-replace": "5.0.7", "@stencil-community/postcss": "2.2.0", "@stencil/angular-output-target": "0.8.4", + "@stencil/core": "4.20.0", "@stencil/react-output-target": "0.5.3", "@storybook/addon-a11y": "8.1.11", "@storybook/addon-essentials": "8.1.11", @@ -55844,6 +55851,7 @@ "@swc-node/register": "~1.10.0", "@swc/core": "~1.7.0", "@swc/helpers": "~0.5.2", + "@types/core-js": "2.5.8", "@types/dompurify": "3.0.5", "@types/escape-html": "1.0.4", "@types/jest": "29.5.12", @@ -55880,7 +55888,7 @@ "tailwindcss": "3.4.7", "ts-node": "10.9.2", "tslib": "^2.3.0", - "typescript": "5.4.5", + "typescript": "5.5.4", "vite": "5.3.5", "vite-plugin-cem": "0.8.1", "wait-on": "7.2.0" @@ -55973,7 +55981,7 @@ "dependencies": { "@coveo/bueno": "0.46.1", "@coveo/headless": "2.75.0", - "@stencil/core": "4.19.2" + "@stencil/core": "4.20.0" }, "devDependencies": { "@coveo/release": "1.0.0", @@ -56322,6 +56330,20 @@ "fsevents": "~2.3.2" } }, + "packages/atomic/node_modules/@custom-elements-manifest/analyzer/node_modules/typescript": { + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "packages/atomic/node_modules/@esbuild/aix-ppc64": { "version": "0.20.2", "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.2.tgz", @@ -57512,6 +57534,16 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, + "packages/atomic/node_modules/core-js": { + "version": "3.37.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.37.1.tgz", + "integrity": "sha512-Xn6qmxrQZyB0FFY8E3bgRXei3lWDJHhvI+u0q9TKIYM49G8pAr0FgnnrFRAmsbptZL1yxRADVXn+x5AGsbBfyw==", + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, "packages/atomic/node_modules/cosmiconfig": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", @@ -58341,6 +58373,20 @@ "node": ">=6" } }, + "packages/atomic/node_modules/typescript": { + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "packages/atomic/node_modules/update-browserslist-db": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", @@ -58470,19 +58516,6 @@ "node": ">=10" } }, - "packages/atomic/node_modules/vite-plugin-cem/node_modules/typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "packages/atomic/node_modules/ws": { "version": "8.18.0", "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", @@ -67528,7 +67561,7 @@ "dependencies": { "@coveo/atomic": "2.75.0", "@coveo/headless": "2.75.0", - "@stencil/core": "4.19.2", + "@stencil/core": "4.20.0", "stencil-router-v2": "0.6.0" }, "devDependencies": { diff --git a/package.json b/package.json index 44bd9beabe0..7393571ceaf 100644 --- a/package.json +++ b/package.json @@ -137,5 +137,6 @@ "dependencies": { "upgrade": "1.1.0" }, - "version": "0.0.0" + "version": "0.0.0", + "packageManager": "npm@10.8.2" } diff --git a/packages/atomic-hosted-page/package.json b/packages/atomic-hosted-page/package.json index 1b453765e67..a71adf213ff 100644 --- a/packages/atomic-hosted-page/package.json +++ b/packages/atomic-hosted-page/package.json @@ -32,7 +32,7 @@ "dependencies": { "@coveo/bueno": "0.46.1", "@coveo/headless": "2.75.0", - "@stencil/core": "4.19.2" + "@stencil/core": "4.20.0" }, "devDependencies": { "@coveo/release": "1.0.0", diff --git a/packages/atomic/package.json b/packages/atomic/package.json index ec92c569488..66706c2d7f0 100644 --- a/packages/atomic/package.json +++ b/packages/atomic/package.json @@ -50,8 +50,8 @@ "@coveo/bueno": "0.46.1", "@popperjs/core": "^2.11.6", "@salesforce-ux/design-system": "^2.16.1", - "@stencil/core": "4.19.2", "@stencil/store": "2.0.16", + "core-js": "3.37.1", "dayjs": "1.11.12", "dompurify": "3.1.6", "escape-html": "1.0.3", @@ -79,6 +79,7 @@ "@rollup/plugin-replace": "5.0.7", "@stencil-community/postcss": "2.2.0", "@stencil/angular-output-target": "0.8.4", + "@stencil/core": "4.20.0", "@stencil/react-output-target": "0.5.3", "@storybook/addon-a11y": "8.1.11", "@storybook/addon-essentials": "8.1.11", @@ -96,6 +97,7 @@ "@swc-node/register": "~1.10.0", "@swc/core": "~1.7.0", "@swc/helpers": "~0.5.2", + "@types/core-js": "2.5.8", "@types/dompurify": "3.0.5", "@types/escape-html": "1.0.4", "@types/jest": "29.5.12", @@ -132,7 +134,7 @@ "tailwindcss": "3.4.7", "ts-node": "10.9.2", "tslib": "^2.3.0", - "typescript": "5.4.5", + "typescript": "5.5.4", "vite": "5.3.5", "vite-plugin-cem": "0.8.1", "wait-on": "7.2.0" diff --git a/packages/atomic/src/components.d.ts b/packages/atomic/src/components.d.ts index a151a53f748..6f4ea6aaa95 100644 --- a/packages/atomic/src/components.d.ts +++ b/packages/atomic/src/components.d.ts @@ -2057,7 +2057,11 @@ export namespace Components { "imageSize"?: Omit; } /** - * @alpha + * @alpha * A product template determines the format of the query results, depending on the conditions that are defined for each template. + * A `template` element must be the child of an `atomic-product-template`. Furthermore, an `atomic-commerce-product-list`, `atomic-commerce-recommendation-list`, or `atomic-commerce-search-box-instant-products` must be the parent of each `atomic-product-template`. + * **Note:** Any `