Skip to content

Commit

Permalink
Merge branch 'master' into KIT-3827
Browse files Browse the repository at this point in the history
  • Loading branch information
y-lakhdar authored Jan 13, 2025
2 parents b942ce6 + db77dd0 commit a154d8d
Show file tree
Hide file tree
Showing 54 changed files with 39,690 additions and 47,312 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
echo "version=$VERSION" >> $GITHUB_ENV
- name: Zip documentation folder
run: |
DOCS_DIR="packages/headless/docs"
DOCS_DIR="packages/headless-react/docs"
if [ ! -d "$DOCS_DIR" ]; then
echo "Documentation folder $DOCS_DIR not found."
exit 1
Expand Down
85,605 changes: 38,502 additions & 47,103 deletions package-lock.json

Large diffs are not rendered by default.

20 changes: 1 addition & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ui-kit",
"private": true,
"version": "3.0.5",
"version": "3.0.6",
"scripts": {
"postinstall": "husky install && patch-package && npx playwright install",
"reset:install": "git checkout origin/master package-lock.json && npm i",
Expand Down Expand Up @@ -36,33 +36,20 @@
"@coveo/release": "1.0.0",
"@cspell/dict-fr-fr": "2.2.5",
"@cspell/eslint-plugin": "8.17.1",
"@nx/js": "20.3.0",
"@nx/storybook": "20.3.0",
"@nx/vite": "20.3.0",
"@nx/web": "20.3.0",
"@octokit/rest": "21.0.2",
"@rollup/plugin-typescript": "12.1.2",
"@storybook/addon-essentials": "8.1.11",
"@storybook/addon-interactions": "8.1.11",
"@storybook/core-server": "8.1.11",
"@storybook/test-runner": "0.19.0",
"@storybook/testing-library": "0.2.2",
"@storybook/web-components-vite": "8.1.11",
"@trivago/prettier-plugin-sort-imports": "5.2.0",
"@tsconfig/node20": "20.1.4",
"@types/execa": "2.0.2",
"@types/jest": "29.5.14",
"@types/node": "22.10.2",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@whitespace/storybook-addon-html": "6.1.1",
"aws-sdk": "2.1692.0",
"commitizen": "4.3.1",
"concurrently": "9.1.2",
"cross-fetch": "4.1.0",
"cspell": "8.17.1",
"cz-conventional-changelog": "3.3.0",
"detect-indent": "7.0.1",
"esbuild": "0.24.2",
"esbuild-plugin-alias": "0.2.1",
"esbuild-plugin-umd-wrapper": "3.0.0",
Expand All @@ -71,22 +58,17 @@
"eslint-plugin-cypress": "2.15.2",
"eslint-plugin-package-lock": "1.0.0",
"execa": "9.5.2",
"exponential-backoff": "3.1.1",
"glob": "11.0.0",
"gts": "5.3.1",
"husky": "9.1.7",
"lint-staged": "15.3.0",
"lit": "3.2.1",
"nx": "20.3.0",
"patch-package": "8.0.0",
"prettier": "3.4.2",
"prettier-plugin-tailwindcss": "0.6.9",
"publint": "0.2.12",
"react-syntax-highlighter": "15.5.0",
"rimraf": "6.0.1",
"semver": "7.6.3",
"ts-node": "10.9.2",
"tslib": "2.8.1",
"typescript": "5.5.4",
"vite": "5.4.11"
},
Expand Down
13 changes: 3 additions & 10 deletions packages/atomic-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,18 @@
"@angular/platform-browser": "18.2.13",
"@angular/platform-browser-dynamic": "18.2.13",
"@angular/router": "18.2.13",
"@coveo/atomic": "3.12.1",
"@coveo/atomic": "3.13.0",
"rxjs": "7.8.1"
},
"peerDependencies": {
"@coveo/headless": "3.12.0"
"@coveo/headless": "3.13.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "18.2.12",
"@angular/cli": "18.2.12",
"@angular/compiler-cli": "18.2.13",
"@coveo/headless": "3.12.0",
"@coveo/headless": "3.13.0",
"@types/node": "22.10.2",
"jasmine-core": "5.5.0",
"karma": "6.4.4",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"ncp": "2.0.0",
"ng-packagr": "18.2.1",
"typescript": "5.5.4"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/atomic-angular/projects/atomic-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## <small>3.2.9 (2025-01-08)</small>

- chore(atomic): make tabs officially public (#4824) ([9078d06](https://github.com/coveo/ui-kit/commits/9078d06)), closes [#4824](https://github.com/coveo/ui-kit/issues/4824)
- chore(deps): update angular to 18 (#4795) ([425a5fa](https://github.com/coveo/ui-kit/commits/425a5fa)), closes [#4795](https://github.com/coveo/ui-kit/issues/4795)

## <small>3.2.7 (2024-12-04)</small>

- chore(deps): update all dependencies j:kit-282 (#4705) ([34921b9](https://github.com/coveo/ui-kit/commits/34921b9)), closes [#4705](https://github.com/coveo/ui-kit/issues/4705) [#8203](https://github.com/coveo/ui-kit/issues/8203)
Expand Down
7 changes: 3 additions & 4 deletions packages/atomic-angular/projects/atomic-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
{
"name": "@coveo/atomic-angular",
"version": "3.2.8",
"version": "3.2.9",
"license": "Apache-2.0",
"repository": {
"url": "https://github.com/coveo/ui-kit"
},
"peerDependencies": {
"@angular/common": "14 - 18",
"@angular/core": "14 - 18",
"@coveo/headless": "3.12.0"
"@coveo/headless": "3.13.0"
},
"dependencies": {
"@coveo/atomic": "3.12.1",
"tslib": "2.8.1"
"@coveo/atomic": "3.13.0"
},
"engines": {
"node": "^20.9.0 || ^22.11.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ AtomicSmartSnippetFeedbackModal,
AtomicSmartSnippetSuggestions,
AtomicSortDropdown,
AtomicSortExpression,
AtomicTab,
AtomicTabManager,
AtomicTableElement,
AtomicText,
Expand Down Expand Up @@ -282,6 +283,7 @@ AtomicSmartSnippetFeedbackModal,
AtomicSmartSnippetSuggestions,
AtomicSortDropdown,
AtomicSortExpression,
AtomicTab,
AtomicTabManager,
AtomicTableElement,
AtomicText,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -984,14 +984,14 @@ export declare interface AtomicFormatUnit extends Components.AtomicFormatUnit {}


@ProxyCmp({
inputs: ['collapsible', 'tabsExcluded', 'tabsIncluded', 'withToggle']
inputs: ['collapsible', 'maxCollapsedHeight', 'tabsExcluded', 'tabsIncluded', 'withToggle']
})
@Component({
selector: 'atomic-generated-answer',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['collapsible', 'tabsExcluded', 'tabsIncluded', 'withToggle'],
inputs: ['collapsible', 'maxCollapsedHeight', 'tabsExcluded', 'tabsIncluded', 'withToggle'],
})
export class AtomicGeneratedAnswer {
protected el: HTMLElement;
Expand Down Expand Up @@ -2974,6 +2974,28 @@ export class AtomicSortExpression {
export declare interface AtomicSortExpression extends Components.AtomicSortExpression {}


@ProxyCmp({
inputs: ['expression', 'label', 'name']
})
@Component({
selector: 'atomic-tab',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['expression', 'label', 'name'],
})
export class AtomicTab {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
}
}


export declare interface AtomicTab extends Components.AtomicTab {}


@ProxyCmp({
inputs: ['clearFiltersOnTabChange']
})
Expand Down
4 changes: 4 additions & 0 deletions packages/atomic-hosted-page/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## <small>1.0.17 (2025-01-08)</small>

- fix(deps): update all dependencies j:kit-282 (#4753) ([8a2cae4](https://github.com/coveo/ui-kit/commits/8a2cae4)), closes [#4753](https://github.com/coveo/ui-kit/issues/4753)

## <small>1.0.15 (2024-12-04)</small>

- chore(deps): update all dependencies j:kit-282 (#4705) ([34921b9](https://github.com/coveo/ui-kit/commits/34921b9)), closes [#4705](https://github.com/coveo/ui-kit/issues/4705) [#8203](https://github.com/coveo/ui-kit/issues/8203)
Expand Down
4 changes: 2 additions & 2 deletions packages/atomic-hosted-page/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@coveo/atomic-hosted-page",
"description": "Web Component used to inject a Coveo Hosted Search Page in the DOM.",
"version": "1.0.16",
"version": "1.0.17",
"repository": {
"type": "git",
"url": "git+https://github.com/coveo/ui-kit.git",
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@coveo/bueno": "1.0.7",
"@coveo/headless": "3.12.0",
"@coveo/headless": "3.13.0",
"@stencil/core": "4.20.0"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/atomic-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## <small>3.2.9 (2025-01-08)</small>

- chore(atomic): make tabs officially public (#4824) ([9078d06](https://github.com/coveo/ui-kit/commits/9078d06)), closes [#4824](https://github.com/coveo/ui-kit/issues/4824)
- fix(deps): update all dependencies j:kit-282 (#4753) ([8a2cae4](https://github.com/coveo/ui-kit/commits/8a2cae4)), closes [#4753](https://github.com/coveo/ui-kit/issues/4753)
- fix(deps): update all dependencies j:kit-282 (#4808) ([c1ad91c](https://github.com/coveo/ui-kit/commits/c1ad91c)), closes [#4808](https://github.com/coveo/ui-kit/issues/4808)
- fix(deps): update all dependencies j:kit-282 (major) (#4813) ([4023170](https://github.com/coveo/ui-kit/commits/4023170)), closes [#4813](https://github.com/coveo/ui-kit/issues/4813)

## <small>3.2.7 (2024-12-04)</small>

- chore: add atomic loader to CDN deployment config (#4686) ([7a7e0ba](https://github.com/coveo/ui-kit/commits/7a7e0ba)), closes [#4686](https://github.com/coveo/ui-kit/issues/4686)
Expand Down
9 changes: 3 additions & 6 deletions packages/atomic-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@coveo/atomic-react",
"sideEffects": false,
"type": "module",
"version": "3.2.8",
"version": "3.2.9",
"description": "React specific wrapper for the Atomic component library",
"repository": {
"type": "git",
Expand Down Expand Up @@ -30,26 +30,23 @@
"commerce/"
],
"dependencies": {
"@coveo/atomic": "3.12.1"
"@coveo/atomic": "3.13.0"
},
"devDependencies": {
"@coveo/release": "1.0.0",
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.1.2",
"@types/node": "22.10.2",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"fix-esm-import-path": "1.10.1",
"ncp": "2.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup": "4.29.0",
"rollup-plugin-polyfill-node": "^0.13.0"
},
"peerDependencies": {
"@coveo/headless": "3.12.0",
"@coveo/headless": "3.13.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export const AtomicSmartSnippetFeedbackModal = /*@__PURE__*/createReactComponent
export const AtomicSmartSnippetSuggestions = /*@__PURE__*/createReactComponent<JSX.AtomicSmartSnippetSuggestions, HTMLAtomicSmartSnippetSuggestionsElement>('atomic-smart-snippet-suggestions');
export const AtomicSortDropdown = /*@__PURE__*/createReactComponent<JSX.AtomicSortDropdown, HTMLAtomicSortDropdownElement>('atomic-sort-dropdown');
export const AtomicSortExpression = /*@__PURE__*/createReactComponent<JSX.AtomicSortExpression, HTMLAtomicSortExpressionElement>('atomic-sort-expression');
export const AtomicTab = /*@__PURE__*/createReactComponent<JSX.AtomicTab, HTMLAtomicTabElement>('atomic-tab');
export const AtomicTabManager = /*@__PURE__*/createReactComponent<JSX.AtomicTabManager, HTMLAtomicTabManagerElement>('atomic-tab-manager');
export const AtomicTableElement = /*@__PURE__*/createReactComponent<JSX.AtomicTableElement, HTMLAtomicTableElementElement>('atomic-table-element');
export const AtomicText = /*@__PURE__*/createReactComponent<JSX.AtomicText, HTMLAtomicTextElement>('atomic-text');
Expand Down
16 changes: 16 additions & 0 deletions packages/atomic/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 3.13.0 (2025-01-08)

- chore: remove experimental FollowQ component (#4788) ([03ae25c](https://github.com/coveo/ui-kit/commits/03ae25c)), closes [#4788](https://github.com/coveo/ui-kit/issues/4788)
- chore(atomic): make tabs officially public (#4824) ([9078d06](https://github.com/coveo/ui-kit/commits/9078d06)), closes [#4824](https://github.com/coveo/ui-kit/issues/4824)
- fix(atomic): fix accessibility issues with pager/results per page buttons (#4761) ([4c50969](https://github.com/coveo/ui-kit/commits/4c50969)), closes [#4761](https://github.com/coveo/ui-kit/issues/4761)
- fix(atomic): fix IPX with high zoom levels (#4805) ([13eba4e](https://github.com/coveo/ui-kit/commits/13eba4e)), closes [#4805](https://github.com/coveo/ui-kit/issues/4805)
- fix(atomic): make all components start with `atomic-` (#4823) ([0f33d58](https://github.com/coveo/ui-kit/commits/0f33d58)), closes [#4823](https://github.com/coveo/ui-kit/issues/4823)
- fix(deps): update all dependencies j:kit-282 (#4753) ([8a2cae4](https://github.com/coveo/ui-kit/commits/8a2cae4)), closes [#4753](https://github.com/coveo/ui-kit/issues/4753)
- fix(deps): update all dependencies j:kit-282 (#4808) ([c1ad91c](https://github.com/coveo/ui-kit/commits/c1ad91c)), closes [#4808](https://github.com/coveo/ui-kit/issues/4808)
- fix(deps): update all dependencies j:kit-282 (#4810) ([fb2c7c6](https://github.com/coveo/ui-kit/commits/fb2c7c6)), closes [#4810](https://github.com/coveo/ui-kit/issues/4810)
- fix(deps): update all dependencies j:kit-282 (#4818) ([dac0953](https://github.com/coveo/ui-kit/commits/dac0953)), closes [#4818](https://github.com/coveo/ui-kit/issues/4818)
- fix(deps): update all dependencies j:kit-282 (major) (#4754) ([0a3e0d5](https://github.com/coveo/ui-kit/commits/0a3e0d5)), closes [#4754](https://github.com/coveo/ui-kit/issues/4754)
- fix(deps): update all dependencies j:kit-282 (major) (#4813) ([4023170](https://github.com/coveo/ui-kit/commits/4023170)), closes [#4813](https://github.com/coveo/ui-kit/issues/4813)
- feat(atomic): add arrow key navigation to atomic-tab/atomic-insight-tab (#4799) ([5e7b15f](https://github.com/coveo/ui-kit/commits/5e7b15f)), closes [#4799](https://github.com/coveo/ui-kit/issues/4799)
- test(atomic): add tests for atomic-product-numeric-field-value (#4779) ([5411883](https://github.com/coveo/ui-kit/commits/5411883)), closes [#4779](https://github.com/coveo/ui-kit/issues/4779)

## <small>3.12.1 (2024-12-11)</small>

- fix(atomic): accessibility issues on "More" tab list (#4774) ([212b46e](https://github.com/coveo/ui-kit/commits/212b46e)), closes [#4774](https://github.com/coveo/ui-kit/issues/4774)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line n/no-extraneous-import
import {pickBy} from 'lodash';
import {
generateComponentHTML,
Expand Down
19 changes: 4 additions & 15 deletions packages/atomic/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@coveo/atomic",
"type": "module",
"version": "3.12.1",
"version": "3.13.0",
"description": "A web-component library for building modern UIs interfacing with the Coveo platform",
"homepage": "https://docs.coveo.com/en/atomic/latest/",
"repository": {
Expand Down Expand Up @@ -66,7 +66,7 @@
},
"dependencies": {
"@coveo/bueno": "1.0.7",
"@coveo/headless": "3.12.0",
"@coveo/headless": "3.13.0",
"@popperjs/core": "2.11.8",
"@salesforce-ux/design-system": "2.25.6",
"@stencil/store": "2.0.16",
Expand All @@ -82,14 +82,10 @@
},
"devDependencies": {
"@axe-core/playwright": "4.10.1",
"@babel/core": "7.26.0",
"@coveo/atomic-storybook-utils": "file:./storybookUtils",
"@coveo/release": "1.0.0",
"@custom-elements-manifest/analyzer": "0.10.4",
"@nx/js": "20.3.0",
"@nx/storybook": "20.3.0",
"@nx/vite": "20.3.0",
"@nx/web": "20.3.0",
"@playwright/test": "1.49.1",
"@rollup/plugin-alias": "5.1.1",
"@rollup/plugin-replace": "6.0.2",
Expand All @@ -101,12 +97,9 @@
"@storybook/addon-essentials": "8.1.11",
"@storybook/addon-interactions": "8.1.11",
"@storybook/core-events": "8.1.11",
"@storybook/core-server": "8.1.11",
"@storybook/manager-api": "8.1.11",
"@storybook/router": "8.1.11",
"@storybook/test": "8.1.11",
"@storybook/test-runner": "0.19.0",
"@storybook/testing-library": "0.2.2",
"@storybook/web-components": "8.1.11",
"@storybook/web-components-vite": "8.1.11",
"@types/core-js": "2.5.8",
Expand All @@ -119,7 +112,7 @@
"@whitespace/storybook-addon-html": "6.1.1",
"autoprefixer": "10.4.20",
"axe-core": "4.10.2",
"cypress": "13.17.0",
"cypress": "13.6.6",
"cypress-axe": "1.5.0",
"cypress-repeat": "2.3.8",
"cypress-split": "1.5.0",
Expand All @@ -131,9 +124,7 @@
"lit": "3.2.1",
"lit-html": "3.2.1",
"local-web-server": "5.4.0",
"lodash": "4.17.21",
"natural-orderby": "5.0.0",
"ncp": "2.0.0",
"postcss-focus-visible": "10.0.1",
"postcss-import": "16.1.0",
"postcss-map": "0.11.0",
Expand All @@ -147,15 +138,13 @@
"storybook": "8.1.2",
"tailwindcss": "3.4.17",
"ts-node": "10.9.2",
"tslib": "2.8.1",
"typescript": "5.5.4",
"vite": "5.4.11",
"vite-plugin-cem": "0.8.1",
"wait-on": "8.0.1"
},
"peerDependencies": {
"@coveo/bueno": "1.0.7",
"@coveo/headless": "3.12.0"
"@coveo/headless": "3.13.0"
},
"license": "Apache-2.0",
"engines": {
Expand Down
Loading

0 comments on commit a154d8d

Please sign in to comment.