@coveo/atomic 3.32.1-pre.7d360dc04c → 3.32.1-pre.85a5ccfeec

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/atomic/_atomic.esm.js +1 -1
  2. package/dist/atomic/components/analytics-config.js +12 -9
  3. package/dist/atomic/components/analytics-config.js.map +1 -1
  4. package/dist/atomic/components/atomic-sort-expression.js +1 -1
  5. package/dist/atomic/components/atomic-sort-expression.js.map +1 -1
  6. package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +2 -2
  7. package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.js +2 -2
  8. package/dist/atomic/components/components/common/interface/analytics-config.js +3 -3
  9. package/dist/atomic/components/components/common/interface/interface-controller.js +2 -2
  10. package/dist/atomic/components/global/environment.js +8 -6
  11. package/dist/atomic/{p-34829b1d.entry.js → p-22e61d7a.entry.js} +2 -2
  12. package/dist/atomic/p-22e61d7a.entry.js.map +1 -0
  13. package/dist/atomic/{p-b0d441aa.entry.js → p-3af82c30.entry.js} +2 -2
  14. package/dist/atomic/{p-09919bba.js → p-ca521486.js} +2 -2
  15. package/dist/atomic/p-ca521486.js.map +1 -0
  16. package/dist/atomic/{p-9aa08f22.entry.js → p-df3424a4.entry.js} +2 -2
  17. package/dist/atomic/{p-34f415f6.entry.js → p-fbf5759a.entry.js} +2 -2
  18. package/dist/cjs/{analytics-config-f837d19d.js → analytics-config-7d4fc07d.js} +13 -10
  19. package/dist/cjs/analytics-config-7d4fc07d.js.map +1 -0
  20. package/dist/cjs/atomic-insight-interface.cjs.entry.js +2 -2
  21. package/dist/cjs/atomic-recs-interface.cjs.entry.js +2 -2
  22. package/dist/cjs/atomic-search-interface.cjs.entry.js +1 -1
  23. package/dist/cjs/atomic-sort-expression.cjs.entry.js +1 -1
  24. package/dist/cjs/atomic-sort-expression.cjs.entry.js.map +1 -1
  25. package/dist/cjs/version.cjs.js +2 -2
  26. package/dist/esm/{analytics-config-e7c72c88.js → analytics-config-77cf380f.js} +13 -10
  27. package/dist/esm/analytics-config-77cf380f.js.map +1 -0
  28. package/dist/esm/atomic-insight-interface.entry.js +2 -2
  29. package/dist/esm/atomic-recs-interface.entry.js +2 -2
  30. package/dist/esm/atomic-search-interface.entry.js +1 -1
  31. package/dist/esm/atomic-sort-expression.entry.js +1 -1
  32. package/dist/esm/atomic-sort-expression.entry.js.map +1 -1
  33. package/dist/esm/version.js +2 -2
  34. package/dist/types/components/common/interface/interface-controller.d.ts +1 -1
  35. package/dist/types/components/search/atomic-sort-expression/atomic-sort-expression.d.ts +2 -16
  36. package/dist/types/components.d.ts +2 -2
  37. package/dist/types/global/environment.d.ts +5 -3
  38. package/docs/atomic-docs.json +2 -2
  39. package/package.json +3 -3
  40. package/dist/atomic/p-09919bba.js.map +0 -1
  41. package/dist/atomic/p-34829b1d.entry.js.map +0 -1
  42. package/dist/cjs/analytics-config-f837d19d.js.map +0 -1
  43. package/dist/esm/analytics-config-e7c72c88.js.map +0 -1
  44. /package/dist/atomic/{p-b0d441aa.entry.js.map → p-3af82c30.entry.js.map} +0 -0
  45. /package/dist/atomic/{p-9aa08f22.entry.js.map → p-df3424a4.entry.js.map} +0 -0
  46. /package/dist/atomic/{p-34f415f6.entry.js.map → p-fbf5759a.entry.js.map} +0 -0
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, s as setNonce, h, H as Host, g as getElement } from './index-3f35faca.js';
2
2
  import { m as markParentAsReady } from './init-queue-fbe942c3.js';
3
3
  import { buildResultsPerPage, loadFieldActions, buildInsightEngine } from '@coveo/headless/insight';
4
- import { g as getNextAnalyticsConfig, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance } from './analytics-config-e7c72c88.js';
4
+ import { g as getNextAnalyticsConfig, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance } from './analytics-config-77cf380f.js';
5
5
  import { A as ArrayProp } from './props-utils-76e19fa7.js';
6
6
  import { D as DEFAULT_MOBILE_BREAKPOINT } from './replace-breakpoint-213367f8.js';
7
7
  import { u as unsetLoadingFlag, s as setLoadingFlag, r as registerFacet, g as getFacetElements, w as waitUntilAppLoaded, a as createBaseStore } from './store-e14e2958.js';
8
8
  import { m as makeDesktopQuery } from './insight-layout-776b87f2.js';
9
9
  import './dayjs.min-d04628c6.js';
10
10
  import './_commonjsHelpers-1789f0cf.js';
11
- import './purify-c7ebd240.js';
12
11
  import '@coveo/headless';
12
+ import './purify-c7ebd240.js';
13
13
  import '@coveo/bueno';
14
14
  import './utils-7ac76ba7.js';
15
15
  import './dom-utils-f6086cd3.js';
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, s as setNonce, h, g as getElement } from './index-3f35faca.js';
2
2
  import { m as markParentAsReady } from './init-queue-fbe942c3.js';
3
3
  import { loadRecommendationActions, loadSearchConfigurationActions, EcommerceDefaultFieldsToInclude, loadFieldActions, buildRecommendationEngine } from '@coveo/headless/recommendation';
4
- import { g as getNextAnalyticsConfig, c as augmentAnalyticsConfigWithDocument, d as augmentAnalyticsConfigWithAtomicVersion, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config-e7c72c88.js';
4
+ import { g as getNextAnalyticsConfig, c as augmentAnalyticsConfigWithDocument, d as augmentAnalyticsConfigWithAtomicVersion, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config-77cf380f.js';
5
5
  import { A as ArrayProp } from './props-utils-76e19fa7.js';
6
6
  import { u as unsetLoadingFlag, s as setLoadingFlag, a as createBaseStore } from './store-e14e2958.js';
7
7
  import './dayjs.min-d04628c6.js';
8
8
  import './_commonjsHelpers-1789f0cf.js';
9
- import './purify-c7ebd240.js';
10
9
  import '@coveo/headless';
10
+ import './purify-c7ebd240.js';
11
11
  import '@coveo/bueno';
12
12
  import './utils-7ac76ba7.js';
13
13
 
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, s as setNonce, h, g as getElement } from './index-3f35faca.js';
2
2
  import { m as markParentAsReady } from './init-queue-fbe942c3.js';
3
3
  import { loadSearchConfigurationActions, loadQueryActions, EcommerceDefaultFieldsToInclude, loadFieldActions, buildSearchEngine, buildUrlManager, buildSearchStatus } from '@coveo/headless';
4
- import { g as getNextAnalyticsConfig, d as augmentAnalyticsConfigWithAtomicVersion, c as augmentAnalyticsConfigWithDocument, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config-e7c72c88.js';
4
+ import { g as getNextAnalyticsConfig, d as augmentAnalyticsConfigWithAtomicVersion, c as augmentAnalyticsConfigWithDocument, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config-77cf380f.js';
5
5
  import { a as StorageItems, S as SafeStorage } from './local-storage-utils-410269e6.js';
6
6
  import { A as ArrayProp } from './props-utils-76e19fa7.js';
7
7
  import { m as makeDesktopQuery, n as noResultsSelector, e as errorSelector, f as firstSearchExecutedSelector } from './search-layout-1e3bd9fd.js';
@@ -50,7 +50,7 @@ const AtomicSortExpression = class {
50
50
  const dropdownComponent = 'atomic-sort-dropdown';
51
51
  if (!this.host.closest(dropdownComponent)) {
52
52
  const error = new Error(`The "${this.host.nodeName.toLowerCase()}" component has to be used inside an ${dropdownComponent} element.`);
53
- return (h("atomic-component-error", { key: '4ed1b69f9f7e7f0de9db4d3de45a23202df3a9db', element: this.host, error: error }));
53
+ return (h("atomic-component-error", { key: '745dd01b0ba0c5b66e60ef9b8c8d66b46658f356', element: this.host, error: error }));
54
54
  }
55
55
  }
56
56
  get host() { return getElement(this); }
@@ -1 +1 @@
1
- {"file":"atomic-sort-expression.entry.js","mappings":";;;;;;;;;;;;;;;;;MAUa,oBAAoB;;;;;;;;;;;;QA8CxB,iBAAY,GAAsB,IAAI,CAAC;;;;;;;;;;QAavC,iBAAY,GAAsB,IAAI,CAAC;;;4BAbL,IAAI;4BAaJ,IAAI;;IAEtC,MAAM;QACX,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE;YAChE,OAAO,CAAC,IAAI,CACV,qHAAqH,CACtH,CAAC;SACH;QAED,MAAM,iBAAiB,GAAG,sBAAsB,CAAC;QAEjD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE;YACzC,MAAM,KAAK,GAAG,IAAI,KAAK,CACrB,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,wCAAwC,iBAAiB,WAAW,CAC7G,CAAC;YACF,QACE,+EACE,OAAO,EAAE,IAAI,CAAC,IAAI,EAClB,KAAK,EAAE,KAAK,GACY,EAC1B;SACH;KACF;;;AAnCM;IAFN,SAAS,EAAE;0DAEkC;AAavC;IAFN,SAAS,EAAE;0DAEkC;;;;","names":[],"sources":["src/components/search/atomic-sort-expression/atomic-sort-expression.tsx"],"sourcesContent":["import {Component, Prop, Element, h} from '@stencil/core';\nimport {ArrayProp} from '../../../utils/props-utils';\n\n/**\n * The `atomic-sort-expression` component defines a sort expression. This component must be inside an `atomic-sort-dropdown` component.\n */\n@Component({\n tag: 'atomic-sort-expression',\n shadow: false,\n})\nexport class AtomicSortExpression {\n @Element() public host!: HTMLElement;\n\n /**\n * The non-localized label to display for this expression.\n */\n @Prop({reflect: true}) public label!: string;\n\n /**\n * One or more sort criteria that the end user can select or toggle between.\n *\n * The available sort criteria are:\n *\n * * `relevancy`\n * * `date ascending`/`date descending`\n * * `qre`\n * * `<FIELD> ascending`/`<FIELD> descending`, where you replace `<FIELD>` with the name of a sortable field in your index (`criteria=\"size ascending\"`).\n *\n * You can specify multiple sort criteria to be used in the same request by separating them with a comma (`criteria=\"size ascending, date ascending\"`).\n * \n * .Combining Sort Criteria\n * [%collapsible]\n * ====\n * You can specify a list of comma-separated sort criteria which will be applied sequentially. For example, if there's a tie on the 1st criterion, the API uses the 2nd criterion to break the tie. However, this only works when combining:\n * * a relevancy criterion followed by one or more field or date criteria.\n * * a qre criterion followed by one or more field or date criteria.\n * * two or more field criteria (`<FIELD>` descending, `<FIELD>` descending).\n * * a single date criterion and one or more field criteria in any order (`<FIELD>` descending, date ascending).\n * Examples:\n * * `relevancy`, `<FIELD> descending`\n * * `qre`, `<FIELD> ascending`\n * * `date descending`, `<FIELD> descending`, `<FIELD> ascending`\n * ====\n */\n @Prop({reflect: true}) public expression!: string;\n /**\n * The tabs on which the sort expression can be displayed. This property should not be used at the same time as `tabs-excluded`.\n *\n * Set this property as a stringified JSON array, e.g.,\n * ```html\n * <atomic-sort-expression tabs-included='[\"tabIDA\", \"tabIDB\"]'></atomic-sort-expression snippet>\n * ```\n * If you don't set this property, the sort expression can be displayed on any tab. Otherwise, the sort expression can only be displayed on the specified tabs.\n */\n @ArrayProp()\n @Prop({reflect: true, mutable: true})\n public tabsIncluded: string[] | string = '[]';\n\n /**\n * The tabs on which the sort expression must not be displayed. This property should not be used at the same time as `tabs-included`.\n *\n * Set this property as a stringified JSON array, e.g.,\n * ```html\n * <atomic-sort-expression tabs-excluded='[\"tabIDA\", \"tabIDB\"]'></atomic-sort-expression>\n * ```\n * If you don't set this property, the sort expression can be displayed on any tab. Otherwise, the sort expression won't be displayed on any of the specified tabs.\n */\n @ArrayProp()\n @Prop({reflect: true, mutable: true})\n public tabsExcluded: string[] | string = '[]';\n\n public render() {\n if (this.tabsIncluded.length > 0 && this.tabsExcluded.length > 0) {\n console.warn(\n 'Values for both \"tabs-included\" and \"tabs-excluded\" have been provided. This is could lead to unexpected behaviors.'\n );\n }\n\n const dropdownComponent = 'atomic-sort-dropdown';\n\n if (!this.host.closest(dropdownComponent)) {\n const error = new Error(\n `The \"${this.host.nodeName.toLowerCase()}\" component has to be used inside an ${dropdownComponent} element.`\n );\n return (\n <atomic-component-error\n element={this.host}\n error={error}\n ></atomic-component-error>\n );\n }\n }\n}\n"],"version":3}
1
+ {"file":"atomic-sort-expression.entry.js","mappings":";;;;;;;;;;;;;;;;;MAUa,oBAAoB;;;;;;;;;;;;QAgCxB,iBAAY,GAAsB,IAAI,CAAC;;;;;;;;;;QAavC,iBAAY,GAAsB,IAAI,CAAC;;;4BAbL,IAAI;4BAaJ,IAAI;;IAEtC,MAAM;QACX,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE;YAChE,OAAO,CAAC,IAAI,CACV,qHAAqH,CACtH,CAAC;SACH;QAED,MAAM,iBAAiB,GAAG,sBAAsB,CAAC;QAEjD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE;YACzC,MAAM,KAAK,GAAG,IAAI,KAAK,CACrB,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,wCAAwC,iBAAiB,WAAW,CAC7G,CAAC;YACF,QACE,+EACE,OAAO,EAAE,IAAI,CAAC,IAAI,EAClB,KAAK,EAAE,KAAK,GACY,EAC1B;SACH;KACF;;;AAnCM;IAFN,SAAS,EAAE;0DAEkC;AAavC;IAFN,SAAS,EAAE;0DAEkC;;;;","names":[],"sources":["src/components/search/atomic-sort-expression/atomic-sort-expression.tsx"],"sourcesContent":["import {Component, Prop, Element, h} from '@stencil/core';\nimport {ArrayProp} from '../../../utils/props-utils';\n\n/**\n * The `atomic-sort-expression` component defines a sort expression. This component must be inside an `atomic-sort-dropdown` component.\n */\n@Component({\n tag: 'atomic-sort-expression',\n shadow: false,\n})\nexport class AtomicSortExpression {\n @Element() public host!: HTMLElement;\n\n /**\n * The non-localized label to display for this expression.\n */\n @Prop({reflect: true}) public label!: string;\n\n /**\n * One or more sort criteria that the end user can select or toggle between.\n *\n * The available sort criteria are:\n *\n * * `relevancy`\n * * `date ascending`/`date descending`\n * * `qre`\n * * `<FIELD> ascending`/`<FIELD> descending`, where you replace `<FIELD>` with the name of a sortable field in your index (e.g., `criteria=\"size ascending\"`).\n *\n * You can specify multiple sort criteria to be used in the same request by separating them with a comma (e.g., `criteria=\"size ascending, date ascending\"`).\n */\n @Prop({reflect: true}) public expression!: string;\n /**\n * The tabs on which the sort expression can be displayed. This property should not be used at the same time as `tabs-excluded`.\n *\n * Set this property as a stringified JSON array, e.g.,\n * ```html\n * <atomic-sort-expression tabs-included='[\"tabIDA\", \"tabIDB\"]'></atomic-sort-expression snippet>\n * ```\n * If you don't set this property, the sort expression can be displayed on any tab. Otherwise, the sort expression can only be displayed on the specified tabs.\n */\n @ArrayProp()\n @Prop({reflect: true, mutable: true})\n public tabsIncluded: string[] | string = '[]';\n\n /**\n * The tabs on which the sort expression must not be displayed. This property should not be used at the same time as `tabs-included`.\n *\n * Set this property as a stringified JSON array, e.g.,\n * ```html\n * <atomic-sort-expression tabs-excluded='[\"tabIDA\", \"tabIDB\"]'></atomic-sort-expression>\n * ```\n * If you don't set this property, the sort expression can be displayed on any tab. Otherwise, the sort expression won't be displayed on any of the specified tabs.\n */\n @ArrayProp()\n @Prop({reflect: true, mutable: true})\n public tabsExcluded: string[] | string = '[]';\n\n public render() {\n if (this.tabsIncluded.length > 0 && this.tabsExcluded.length > 0) {\n console.warn(\n 'Values for both \"tabs-included\" and \"tabs-excluded\" have been provided. This is could lead to unexpected behaviors.'\n );\n }\n\n const dropdownComponent = 'atomic-sort-dropdown';\n\n if (!this.host.closest(dropdownComponent)) {\n const error = new Error(\n `The \"${this.host.nodeName.toLowerCase()}\" component has to be used inside an ${dropdownComponent} element.`\n );\n return (\n <atomic-component-error\n element={this.host}\n error={error}\n ></atomic-component-error>\n );\n }\n }\n}\n"],"version":3}
@@ -1,2 +1,2 @@
1
- export const headlessVersion = '3.28.1-pre.7d360dc04c';
2
- export const atomicVersion = '3.32.1-pre.7d360dc04c';
1
+ export const headlessVersion = '3.28.1-pre.85a5ccfeec';
2
+ export const atomicVersion = '3.32.1-pre.85a5ccfeec';
@@ -21,7 +21,7 @@ export declare class InterfaceController<EngineType extends AnyEngineType> imple
21
21
  private host;
22
22
  private i18nPromise;
23
23
  private hangingComponentsInitialization;
24
- constructor(host: LitElement & BaseAtomicInterface<EngineType>, globalVariableName: string);
24
+ constructor(host: LitElement & BaseAtomicInterface<EngineType>, globalVariableName: string, headlessVersion: string);
25
25
  hostConnected(): void;
26
26
  hostDisconnected(): void;
27
27
  onComponentInitializing(event: InitializeEvent): void;
@@ -15,23 +15,9 @@ export declare class AtomicSortExpression {
15
15
  * * `relevancy`
16
16
  * * `date ascending`/`date descending`
17
17
  * * `qre`
18
- * * `<FIELD> ascending`/`<FIELD> descending`, where you replace `<FIELD>` with the name of a sortable field in your index (`criteria="size ascending"`).
18
+ * * `<FIELD> ascending`/`<FIELD> descending`, where you replace `<FIELD>` with the name of a sortable field in your index (e.g., `criteria="size ascending"`).
19
19
  *
20
- * You can specify multiple sort criteria to be used in the same request by separating them with a comma (`criteria="size ascending, date ascending"`).
21
- *
22
- * .Combining Sort Criteria
23
- * [%collapsible]
24
- * ====
25
- * You can specify a list of comma-separated sort criteria which will be applied sequentially. For example, if there's a tie on the 1st criterion, the API uses the 2nd criterion to break the tie. However, this only works when combining:
26
- * * a relevancy criterion followed by one or more field or date criteria.
27
- * * a qre criterion followed by one or more field or date criteria.
28
- * * two or more field criteria (`<FIELD>` descending, `<FIELD>` descending).
29
- * * a single date criterion and one or more field criteria in any order (`<FIELD>` descending, date ascending).
30
- * Examples:
31
- * * `relevancy`, `<FIELD> descending`
32
- * * `qre`, `<FIELD> ascending`
33
- * * `date descending`, `<FIELD> descending`, `<FIELD> ascending`
34
- * ====
20
+ * You can specify multiple sort criteria to be used in the same request by separating them with a comma (e.g., `criteria="size ascending, date ascending"`).
35
21
  */
36
22
  expression: string;
37
23
  /**
@@ -2731,7 +2731,7 @@ export namespace Components {
2731
2731
  */
2732
2732
  interface AtomicSortExpression {
2733
2733
  /**
2734
- * One or more sort criteria that the end user can select or toggle between. The available sort criteria are: * `relevancy` * `date ascending`/`date descending` * `qre` * `<FIELD> ascending`/`<FIELD> descending`, where you replace `<FIELD>` with the name of a sortable field in your index (`criteria="size ascending"`). You can specify multiple sort criteria to be used in the same request by separating them with a comma (`criteria="size ascending, date ascending"`). .Combining Sort Criteria [%collapsible] ==== You can specify a list of comma-separated sort criteria which will be applied sequentially. For example, if there's a tie on the 1st criterion, the API uses the 2nd criterion to break the tie. However, this only works when combining: * a relevancy criterion followed by one or more field or date criteria. * a qre criterion followed by one or more field or date criteria. * two or more field criteria (`<FIELD>` descending, `<FIELD>` descending). * a single date criterion and one or more field criteria in any order (`<FIELD>` descending, date ascending). Examples: * `relevancy`, `<FIELD> descending` * `qre`, `<FIELD> ascending` * `date descending`, `<FIELD> descending`, `<FIELD> ascending` ====
2734
+ * One or more sort criteria that the end user can select or toggle between. The available sort criteria are: * `relevancy` * `date ascending`/`date descending` * `qre` * `<FIELD> ascending`/`<FIELD> descending`, where you replace `<FIELD>` with the name of a sortable field in your index (e.g., `criteria="size ascending"`). You can specify multiple sort criteria to be used in the same request by separating them with a comma (e.g., `criteria="size ascending, date ascending"`).
2735
2735
  */
2736
2736
  "expression": string;
2737
2737
  /**
@@ -7289,7 +7289,7 @@ declare namespace LocalJSX {
7289
7289
  */
7290
7290
  interface AtomicSortExpression {
7291
7291
  /**
7292
- * One or more sort criteria that the end user can select or toggle between. The available sort criteria are: * `relevancy` * `date ascending`/`date descending` * `qre` * `<FIELD> ascending`/`<FIELD> descending`, where you replace `<FIELD>` with the name of a sortable field in your index (`criteria="size ascending"`). You can specify multiple sort criteria to be used in the same request by separating them with a comma (`criteria="size ascending, date ascending"`). .Combining Sort Criteria [%collapsible] ==== You can specify a list of comma-separated sort criteria which will be applied sequentially. For example, if there's a tie on the 1st criterion, the API uses the 2nd criterion to break the tie. However, this only works when combining: * a relevancy criterion followed by one or more field or date criteria. * a qre criterion followed by one or more field or date criteria. * two or more field criteria (`<FIELD>` descending, `<FIELD>` descending). * a single date criterion and one or more field criteria in any order (`<FIELD>` descending, date ascending). Examples: * `relevancy`, `<FIELD> descending` * `qre`, `<FIELD> ascending` * `date descending`, `<FIELD> descending`, `<FIELD> ascending` ====
7292
+ * One or more sort criteria that the end user can select or toggle between. The available sort criteria are: * `relevancy` * `date ascending`/`date descending` * `qre` * `<FIELD> ascending`/`<FIELD> descending`, where you replace `<FIELD>` with the name of a sortable field in your index (e.g., `criteria="size ascending"`). You can specify multiple sort criteria to be used in the same request by separating them with a comma (e.g., `criteria="size ascending, date ascending"`).
7293
7293
  */
7294
7294
  "expression": string;
7295
7295
  /**
@@ -1,4 +1,4 @@
1
- export interface AtomicEnvironment {
1
+ interface AtomicEnvironment {
2
2
  version: string;
3
3
  headlessVersion: string;
4
4
  }
@@ -7,5 +7,7 @@ declare global {
7
7
  [anyGlobalVariable: string]: AtomicEnvironment;
8
8
  }
9
9
  }
10
- export declare function getAtomicEnvironment(): AtomicEnvironment;
11
- export declare function setCoveoGlobal(globalVariableName: string): void;
10
+ export declare function getAtomicEnvironment(headlessVersion: string): AtomicEnvironment;
11
+ export declare function getAtomicVersion(): string;
12
+ export declare function setCoveoGlobal(globalVariableName: string, headlessVersion: string): void;
13
+ export {};
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-08-08T16:35:25",
2
+ "timestamp": "2025-08-11T13:09:20",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.20.0",
@@ -14300,7 +14300,7 @@
14300
14300
  "mutable": false,
14301
14301
  "attr": "expression",
14302
14302
  "reflectToAttr": true,
14303
- "docs": "One or more sort criteria that the end user can select or toggle between.\n\nThe available sort criteria are:\n\n* `relevancy`\n* `date ascending`/`date descending`\n* `qre`\n* `<FIELD> ascending`/`<FIELD> descending`, where you replace `<FIELD>` with the name of a sortable field in your index (`criteria=\"size ascending\"`).\n\nYou can specify multiple sort criteria to be used in the same request by separating them with a comma (`criteria=\"size ascending, date ascending\"`).\n\n.Combining Sort Criteria\n[%collapsible]\n====\nYou can specify a list of comma-separated sort criteria which will be applied sequentially. For example, if there's a tie on the 1st criterion, the API uses the 2nd criterion to break the tie. However, this only works when combining:\n* a relevancy criterion followed by one or more field or date criteria.\n* a qre criterion followed by one or more field or date criteria.\n* two or more field criteria (`<FIELD>` descending, `<FIELD>` descending).\n* a single date criterion and one or more field criteria in any order (`<FIELD>` descending, date ascending).\nExamples:\n* `relevancy`, `<FIELD> descending`\n* `qre`, `<FIELD> ascending`\n* `date descending`, `<FIELD> descending`, `<FIELD> ascending`\n====",
14303
+ "docs": "One or more sort criteria that the end user can select or toggle between.\n\nThe available sort criteria are:\n\n* `relevancy`\n* `date ascending`/`date descending`\n* `qre`\n* `<FIELD> ascending`/`<FIELD> descending`, where you replace `<FIELD>` with the name of a sortable field in your index (e.g., `criteria=\"size ascending\"`).\n\nYou can specify multiple sort criteria to be used in the same request by separating them with a comma (e.g., `criteria=\"size ascending, date ascending\"`).",
14304
14304
  "docsTags": [],
14305
14305
  "values": [
14306
14306
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coveo/atomic",
3
3
  "type": "module",
4
- "version": "3.32.1-pre.7d360dc04c",
4
+ "version": "3.32.1-pre.85a5ccfeec",
5
5
  "description": "A web-component library for building modern UIs interfacing with the Coveo platform",
6
6
  "homepage": "https://docs.coveo.com/en/atomic/latest/",
7
7
  "repository": {
@@ -82,7 +82,7 @@
82
82
  },
83
83
  "dependencies": {
84
84
  "@coveo/bueno": "1.1.0",
85
- "@coveo/headless": "3.28.1-pre.7d360dc04c",
85
+ "@coveo/headless": "3.28.1-pre.85a5ccfeec",
86
86
  "@lit/context": "1.1.6",
87
87
  "@popperjs/core": "2.11.8",
88
88
  "@salesforce-ux/design-system": "2.27.2",
@@ -169,7 +169,7 @@
169
169
  },
170
170
  "peerDependencies": {
171
171
  "@coveo/bueno": "1.1.0",
172
- "@coveo/headless": "3.28.1-pre.7d360dc04c",
172
+ "@coveo/headless": "3.28.1-pre.85a5ccfeec",
173
173
  "typescript": ">=5.0.0"
174
174
  },
175
175
  "peerDependenciesMeta": {