@coveo/atomic 3.32.2 → 3.32.3-pre.467a471c62

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 (89) hide show
  1. package/dist/atomic/_atomic.esm.js +1 -1
  2. package/dist/atomic/components/analytics-config.js +1 -1
  3. package/dist/atomic/components/analytics-config.js.map +1 -1
  4. package/dist/atomic/components/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.js +0 -2
  5. package/dist/atomic/components/components/commerce/atomic-commerce-did-you-mean/atomic-commerce-did-you-mean.js +0 -2
  6. package/dist/atomic/components/components/commerce/atomic-commerce-facet/atomic-commerce-facet.js +0 -2
  7. package/dist/atomic/components/components/commerce/atomic-commerce-facets/atomic-commerce-facets.js +0 -1
  8. package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +1 -2
  9. package/dist/atomic/components/components/commerce/atomic-commerce-layout/atomic-commerce-layout.js +2 -1
  10. package/dist/atomic/components/components/commerce/atomic-commerce-layout/atomic-commerce-layout.tw.css.js +1 -1
  11. package/dist/atomic/components/components/commerce/atomic-commerce-no-products/atomic-commerce-no-products.js +0 -2
  12. package/dist/atomic/components/components/commerce/atomic-commerce-numeric-facet/atomic-commerce-numeric-facet.js +0 -3
  13. package/dist/atomic/components/components/commerce/atomic-commerce-pager/atomic-commerce-pager.js +0 -1
  14. package/dist/atomic/components/components/commerce/atomic-commerce-product-list/atomic-commerce-product-list.js +0 -2
  15. package/dist/atomic/components/components/commerce/atomic-commerce-products-per-page/atomic-commerce-products-per-page.js +0 -2
  16. package/dist/atomic/components/components/commerce/atomic-commerce-query-error/atomic-commerce-query-error.js +0 -2
  17. package/dist/atomic/components/components/commerce/atomic-commerce-query-summary/atomic-commerce-query-summary.js +0 -2
  18. package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.js +3 -1
  19. package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-list/atomic-commerce-recommendation-list.js +0 -1
  20. package/dist/atomic/components/components/commerce/atomic-commerce-refine-toggle/atomic-commerce-refine-toggle.js +0 -2
  21. package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +0 -2
  22. package/dist/atomic/components/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.js +1 -4
  23. package/dist/atomic/components/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.js +1 -2
  24. package/dist/atomic/components/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.js +0 -2
  25. package/dist/atomic/components/components/commerce/atomic-commerce-sort-dropdown/atomic-commerce-sort-dropdown.js +0 -2
  26. package/dist/atomic/components/components/commerce/atomic-commerce-timeframe-facet/atomic-commerce-timeframe-facet.js +0 -2
  27. package/dist/atomic/components/components/commerce/atomic-product-field-condition/atomic-product-field-condition.js +0 -2
  28. package/dist/atomic/components/components/commerce/atomic-product-link/atomic-product-link.js +2 -1
  29. package/dist/atomic/components/components/commerce/atomic-product-multi-value-text/atomic-product-multi-value-text.js +0 -2
  30. package/dist/atomic/components/components/commerce/atomic-product-numeric-field-value/atomic-product-numeric-field-value.js +0 -1
  31. package/dist/atomic/components/components/commerce/atomic-product-price/atomic-product-price.js +0 -1
  32. package/dist/atomic/components/components/commerce/atomic-product-rating/atomic-product-rating.js +0 -2
  33. package/dist/atomic/components/components/commerce/atomic-product-template/atomic-product-template.js +0 -2
  34. package/dist/atomic/components/components/common/facets/facet-value-checkbox/facet-value-checkbox.js +1 -0
  35. package/dist/atomic/components/components/common/facets/facet-value-link/facet-value-link.js +1 -0
  36. package/dist/atomic/components/global/environment.js +1 -1
  37. package/dist/atomic/{p-dd382de2.entry.js → p-0557f299.entry.js} +2 -2
  38. package/dist/atomic/{p-37cc1a0f.entry.js → p-53ee158d.entry.js} +2 -2
  39. package/dist/atomic/{p-f15011f0.entry.js → p-6f407097.entry.js} +2 -2
  40. package/dist/atomic/{p-d99245a2.js → p-bd14f10b.js} +2 -2
  41. package/dist/atomic/{p-d99245a2.js.map → p-bd14f10b.js.map} +1 -1
  42. package/dist/cjs/{analytics-config-ef11e2e7.js → analytics-config-ddc44402.js} +2 -2
  43. package/dist/cjs/analytics-config-ddc44402.js.map +1 -0
  44. package/dist/cjs/atomic-insight-interface.cjs.entry.js +1 -1
  45. package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
  46. package/dist/cjs/atomic-search-interface.cjs.entry.js +1 -1
  47. package/dist/cjs/version.cjs.js +2 -2
  48. package/dist/esm/{analytics-config-75155add.js → analytics-config-296c3f0e.js} +2 -2
  49. package/dist/esm/analytics-config-296c3f0e.js.map +1 -0
  50. package/dist/esm/atomic-insight-interface.entry.js +1 -1
  51. package/dist/esm/atomic-recs-interface.entry.js +1 -1
  52. package/dist/esm/atomic-search-interface.entry.js +1 -1
  53. package/dist/esm/version.js +2 -2
  54. package/dist/types/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.d.ts +0 -2
  55. package/dist/types/components/commerce/atomic-commerce-did-you-mean/atomic-commerce-did-you-mean.d.ts +0 -2
  56. package/dist/types/components/commerce/atomic-commerce-facet/atomic-commerce-facet.d.ts +0 -2
  57. package/dist/types/components/commerce/atomic-commerce-facets/atomic-commerce-facets.d.ts +0 -1
  58. package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts +1 -2
  59. package/dist/types/components/commerce/atomic-commerce-layout/atomic-commerce-layout.d.ts +2 -1
  60. package/dist/types/components/commerce/atomic-commerce-no-products/atomic-commerce-no-products.d.ts +0 -2
  61. package/dist/types/components/commerce/atomic-commerce-numeric-facet/atomic-commerce-numeric-facet.d.ts +0 -3
  62. package/dist/types/components/commerce/atomic-commerce-pager/atomic-commerce-pager.d.ts +0 -1
  63. package/dist/types/components/commerce/atomic-commerce-product-list/atomic-commerce-product-list.d.ts +0 -2
  64. package/dist/types/components/commerce/atomic-commerce-products-per-page/atomic-commerce-products-per-page.d.ts +0 -2
  65. package/dist/types/components/commerce/atomic-commerce-query-error/atomic-commerce-query-error.d.ts +0 -2
  66. package/dist/types/components/commerce/atomic-commerce-query-summary/atomic-commerce-query-summary.d.ts +0 -2
  67. package/dist/types/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.d.ts +3 -1
  68. package/dist/types/components/commerce/atomic-commerce-recommendation-list/atomic-commerce-recommendation-list.d.ts +0 -1
  69. package/dist/types/components/commerce/atomic-commerce-refine-toggle/atomic-commerce-refine-toggle.d.ts +0 -2
  70. package/dist/types/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.d.ts +0 -2
  71. package/dist/types/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.d.ts +1 -4
  72. package/dist/types/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.d.ts +1 -2
  73. package/dist/types/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.d.ts +0 -2
  74. package/dist/types/components/commerce/atomic-commerce-sort-dropdown/atomic-commerce-sort-dropdown.d.ts +0 -2
  75. package/dist/types/components/commerce/atomic-commerce-timeframe-facet/atomic-commerce-timeframe-facet.d.ts +0 -2
  76. package/dist/types/components/commerce/atomic-product-field-condition/atomic-product-field-condition.d.ts +0 -2
  77. package/dist/types/components/commerce/atomic-product-link/atomic-product-link.d.ts +3 -2
  78. package/dist/types/components/commerce/atomic-product-multi-value-text/atomic-product-multi-value-text.d.ts +0 -2
  79. package/dist/types/components/commerce/atomic-product-numeric-field-value/atomic-product-numeric-field-value.d.ts +0 -1
  80. package/dist/types/components/commerce/atomic-product-price/atomic-product-price.d.ts +0 -1
  81. package/dist/types/components/commerce/atomic-product-rating/atomic-product-rating.d.ts +0 -2
  82. package/dist/types/components/commerce/atomic-product-template/atomic-product-template.d.ts +0 -2
  83. package/docs/atomic-docs.json +1 -1
  84. package/package.json +3 -3
  85. package/dist/cjs/analytics-config-ef11e2e7.js.map +0 -1
  86. package/dist/esm/analytics-config-75155add.js.map +0 -1
  87. /package/dist/atomic/{p-dd382de2.entry.js.map → p-0557f299.entry.js.map} +0 -0
  88. /package/dist/atomic/{p-37cc1a0f.entry.js.map → p-53ee158d.entry.js.map} +0 -0
  89. /package/dist/atomic/{p-f15011f0.entry.js.map → p-6f407097.entry.js.map} +0 -0
@@ -39,8 +39,6 @@ import styles from './atomic-commerce-breadbox.tw.css';
39
39
  * @part show-less - The button to display less breadcrumbs.
40
40
  * @part label - The "Filters" label.
41
41
  * @part clear - The button to clear all filters.
42
- *
43
- * @alpha
44
42
  */
45
43
  let AtomicCommerceBreadbox = class AtomicCommerceBreadbox extends LitElement {
46
44
  constructor() {
@@ -17,8 +17,6 @@ import { renderAutoCorrection } from '../../common/query-correction/auto-correct
17
17
  import { renderCorrection } from '../../common/query-correction/correction';
18
18
  import { renderTriggerCorrection } from '../../common/query-correction/trigger-correction';
19
19
  /**
20
- * @alpha
21
- *
22
20
  * The `atomic-commerce-did-you-mean` component is responsible for handling query corrections. When a query returns no products but finds a possible query correction, the component either suggests the correction or automatically triggers a new query with the suggested term.
23
21
  *
24
22
  * @part no-results - The text displayed when there are no results.
@@ -57,8 +57,6 @@ import styles from './atomic-commerce-facet.tw.css';
57
57
  * @part show-more - The show more results button.
58
58
  * @part show-less - The show less results button.
59
59
  * @part show-more-less-icon - The icons of the show more & show less buttons.
60
- *
61
- * @alpha
62
60
  */
63
61
  let AtomicCommerceFacet = class AtomicCommerceFacet extends InitializeBindingsMixin(LitElement) {
64
62
  constructor() {
@@ -23,7 +23,6 @@ import '../atomic-commerce-timeframe-facet/atomic-commerce-timeframe-facet';
23
23
  /**
24
24
  * The `atomic-commerce-facets` component automatically renders commerce facets based on the Commerce API response.
25
25
  * Unlike regular facets, which require explicit definition and request in the query, the `atomic-commerce-facets` component dynamically generates facets.
26
- *
27
26
  */
28
27
  let AtomicCommerceFacets = class AtomicCommerceFacets extends LitElement {
29
28
  constructor() {
@@ -24,13 +24,12 @@ import { errorSelector, firstSearchExecutedSelector, noProductsSelector, } from
24
24
  import { getAnalyticsConfig } from './analytics-config';
25
25
  const FirstRequestExecutedFlag = 'firstRequestExecuted';
26
26
  /**
27
- * @alpha
28
27
  * The `atomic-commerce-interface` component is the parent to all other atomic commerce components in a commerce page
29
28
  * (except for `atomic-commerce-recommendation-list`, which must have
30
29
  * `atomic-commerce-recommendation-interface` as a parent). It handles the headless commerce engine and localization
31
30
  * configurations.
32
31
  *
33
- * @slot default - The default slot where you can add child components to the search box.
32
+ * @slot default - The default slot where you can add child components to the interface.
34
33
  */
35
34
  let AtomicCommerceInterface = class AtomicCommerceInterface extends ChildrenUpdateCompleteMixin(LitElement) {
36
35
  constructor() {
@@ -12,7 +12,8 @@ import { DEFAULT_MOBILE_BREAKPOINT } from '../../../utils/replace-breakpoint';
12
12
  import styles from './atomic-commerce-layout.tw.css';
13
13
  /**
14
14
  * The `atomic-commerce-layout` helps organize elements in the commerce page.
15
- * @alpha
15
+ *
16
+ * @slot default - The default slot where you can add child components to the layout.
16
17
  */
17
18
  let AtomicCommerceLayout = class AtomicCommerceLayout extends CommerceLayoutMixin(LitElement, unsafeCSS(styles)) {
18
19
  constructor() {
@@ -1,2 +1,2 @@
1
- const css = `.atomic-modal-opened{overflow-y:hidden}atomic-layout-section[section=search]{grid-area:atomic-section-search}atomic-layout-section[section=facets]{grid-area:atomic-section-facets}atomic-layout-section[section=main]{grid-area:atomic-section-main}atomic-layout-section[section=status]{grid-area:atomic-section-status}atomic-layout-section[section=pagination]{grid-area:atomic-section-pagination}atomic-commerce-layout{grid-template-areas:".atomic-section-search."".atomic-section-main.";grid-template-columns:var(--atomic-layout-spacing-x)minmax(0,1fr)var(--atomic-layout-spacing-x);width:100%;height:100%;display:none;& atomic-layout-section[section=search]{margin:var(--atomic-layout-spacing-y)0;max-width:var(--atomic-layout-max-search-box-input-width,678px);justify-self:center;width:100%;& atomic-commerce-search-box{&::part(suggestions-double-list){width:125%;max-width:var(--atomic-layout-max-search-box-double-suggestions-width,800px)}&::part(suggestions-left){flex-basis:var(--atomic-layout-search-box-left-suggestions-width,30%)}&::part(suggestions-right){flex-basis:calc(100% - var(--atomic-layout-search-box-left-suggestions-width,30%))}}}& atomic-layout-section[section=facets]{display:none;& atomic-commerce-facets *{margin-bottom:var(--atomic-layout-spacing-y)}}& atomic-layout-section[section=main]{margin-bottom:var(--atomic-layout-spacing-y)}& atomic-layout-section[section=horizontal-facets]{margin-bottom:var(--atomic-layout-spacing-y);flex-wrap:wrap;row-gap:.5rem;display:flex;&>atomic-popover{margin-right:.5rem;display:none}}& atomic-layout-section[section=horizontal-facets]>*{max-width:100%}& atomic-layout-section[section=status]{grid-template-areas:"atomic-breadbox atomic-breadbox""atomic-query-summary atomic-sort""atomic-did-you-mean atomic-did-you-mean""atomic-notifications atomic-notifications";justify-content:space-between;display:grid;& atomic-commerce-breadbox{grid-area:atomic-breadbox}& atomic-commerce-query-summary{grid-area:atomic-query-summary;align-self:center;overflow:hidden}& atomic-commerce-sort-dropdown{grid-area:atomic-sort;justify-self:end}& atomic-commerce-refine-toggle{grid-area:atomic-sort}& atomic-commerce-did-you-mean{grid-area:atomic-did-you-mean}& atomic-commerce-notifications{grid-area:atomic-notifications}}& atomic-layout-section[section=status]>*{margin-top:var(--atomic-layout-spacing-y)}& atomic-layout-section[section=pagination]{flex-direction:column;justify-content:space-between;align-items:center;display:flex;& atomic-commerce-load-more-products{width:100%}&:has(:only-child){justify-content:center}@media only screen and (width>=50rem){&{flex-direction:row}}}& atomic-layout-section[section=pagination]>*{margin-top:var(--atomic-layout-spacing-y)}}`;
1
+ const css = `.atomic-modal-opened{overflow-y:hidden}atomic-layout-section[section=search]{grid-area:atomic-section-search}atomic-layout-section[section=facets]{grid-area:atomic-section-facets}atomic-layout-section[section=main]{grid-area:atomic-section-main}atomic-layout-section[section=status]{grid-area:atomic-section-status}atomic-layout-section[section=pagination]{grid-area:atomic-section-pagination}atomic-commerce-layout{grid-template-areas:".atomic-section-search."".atomic-section-main.";grid-template-columns:var(--atomic-layout-spacing-x)minmax(0,1fr)var(--atomic-layout-spacing-x);width:100%;height:100%;display:none;& atomic-layout-section[section=search]{margin:var(--atomic-layout-spacing-y)0;max-width:var(--atomic-layout-max-search-box-input-width,678px);justify-self:center;width:100%;& atomic-commerce-search-box{&::part(suggestions-double-list){width:125%;max-width:var(--atomic-layout-max-search-box-double-suggestions-width,800px)}&::part(suggestions-left){flex-basis:var(--atomic-layout-search-box-left-suggestions-width,30%)}&::part(suggestions-right){flex-basis:calc(100% - var(--atomic-layout-search-box-left-suggestions-width,30%))}}}& atomic-layout-section[section=facets]{display:none;& atomic-commerce-facets *{margin-bottom:var(--atomic-layout-spacing-y)}}& atomic-layout-section[section=main]{margin-bottom:var(--atomic-layout-spacing-y)}& atomic-layout-section[section=horizontal-facets]{margin-bottom:var(--atomic-layout-spacing-y);flex-wrap:wrap;row-gap:.5rem;display:flex;&>atomic-popover{margin-right:.5rem;display:none}}& atomic-layout-section[section=horizontal-facets]>*{max-width:100%}& atomic-layout-section[section=status]{grid-template-areas:"atomic-breadbox atomic-breadbox""atomic-query-summary atomic-sort""atomic-did-you-mean atomic-did-you-mean""atomic-notifications atomic-notifications";justify-content:space-between;display:grid;& atomic-commerce-breadbox{grid-area:atomic-breadbox}& atomic-commerce-query-summary{grid-area:atomic-query-summary;align-self:center;overflow:hidden}& atomic-commerce-sort-dropdown{grid-area:atomic-sort;justify-self:end}& atomic-commerce-refine-toggle{grid-area:atomic-sort}& atomic-commerce-did-you-mean{grid-area:atomic-did-you-mean}& atomic-commerce-notifications{grid-area:atomic-notifications}}& atomic-layout-section[section=status]>*{margin-bottom:var(--atomic-layout-spacing-y)}& atomic-layout-section[section=pagination]{flex-direction:column;justify-content:space-between;align-items:center;display:flex;& atomic-commerce-load-more-products{width:100%}&:has(:only-child){justify-content:center}@media only screen and (width>=50rem){&{flex-direction:row}}}& atomic-layout-section[section=pagination]>*{margin-top:var(--atomic-layout-spacing-y)}}`;
2
2
  export default css;
@@ -20,8 +20,6 @@ import { renderNoItems } from '../../common/no-items/no-items.js';
20
20
  import { renderSearchTips } from '../../common/no-items/tips.js';
21
21
  import { getSummary } from '../../common/no-items/utils.js';
22
22
  /**
23
- * @alpha
24
- *
25
23
  * The `atomic-commerce-no-products` component displays search tips when there are no products. Any additional content slotted inside of its element will be displayed as well.
26
24
  *
27
25
  * @part no-results - The text indicating that no products were found for the search.
@@ -42,9 +42,6 @@ import styles from './atomic-commerce-numeric-facet.tw.css';
42
42
  * @part label-end - The label for the maximum value input field.
43
43
  * @part input-end - The input field to enter the maximum numeric value.
44
44
  * @part input-apply-button - The button to apply custom numeric range values.
45
- *
46
- * @internal
47
- *
48
45
  */
49
46
  let AtomicCommerceNumericFacet = class AtomicCommerceNumericFacet extends InitializeBindingsMixin(LitElement) {
50
47
  constructor() {
@@ -34,7 +34,6 @@ import { getCurrentPagesRange } from './commerce-pager-utils';
34
34
  * @part next-button-icon - The "next page" button icon.
35
35
  *
36
36
  * @event atomic/scrollToTop - Emitted when the user clicks the next or previous button, or a page button.
37
- * @alpha
38
37
  */
39
38
  let AtomicCommercePager = class AtomicCommercePager extends LitElement {
40
39
  constructor() {
@@ -46,8 +46,6 @@ import styles from './atomic-commerce-product-list.tw.css';
46
46
  * @part result-table-cell - The td elements nested under each tbody > tr when the display prop is set to "table".
47
47
  *
48
48
  * @slot default - The default slot where the product templates are defined.
49
- *
50
- * @alpha
51
49
  */
52
50
  let AtomicCommerceProductList = class AtomicCommerceProductList extends ChildrenUpdateCompleteMixin(LitElement) {
53
51
  constructor() {
@@ -26,8 +26,6 @@ import { randomID } from "../../../utils/utils.js";
26
26
  * @part buttons - The list of buttons.
27
27
  * @part button - The individual products per page buttons.
28
28
  * @part active-button - The active products per page button.
29
- *
30
- * @alpha
31
29
  */
32
30
  let AtomicCommerceProductsPerPage = class AtomicCommerceProductsPerPage extends LitElement {
33
31
  constructor() {
@@ -32,8 +32,6 @@ import { getAriaMessageFromErrorType } from '../../common/query-error/utils';
32
32
  * @part doc-link - A link to the relevant documentation.
33
33
  * @part more-info-btn - A button to request additional error information.
34
34
  * @part error-info - Additional error information.
35
- *
36
- * @alpha
37
35
  */
38
36
  let AtomicCommerceQueryError = class AtomicCommerceQueryError extends LitElement {
39
37
  constructor() {
@@ -24,8 +24,6 @@ import { getProductQuerySummaryI18nParameters } from '../../common/query-summary
24
24
  * @part highlight - The summary highlights.
25
25
  * @part query - The summary highlighted query.
26
26
  * @part placeholder - The query summary placeholder used while the search interface is initializing.
27
- *
28
- * @alpha
29
27
  */
30
28
  let AtomicCommerceQuerySummary = class AtomicCommerceQuerySummary extends LitElement {
31
29
  constructor() {
@@ -22,8 +22,10 @@ import { createCommerceRecommendationStore, } from './store.js';
22
22
  /**
23
23
  * The `atomic-commerce-recommendation-interface` component is meant to be used
24
24
  * as the parent of one or more `atomic-commerce-recommendation-list`
25
- * components. It handles the headless search engine and localization
25
+ * components. It handles the headless engine and localization
26
26
  * configurations.
27
+ *
28
+ * @slot default - The default slot where you can add child components to the interface.
27
29
  */
28
30
  let AtomicCommerceRecommendationInterface = class AtomicCommerceRecommendationInterface extends ChildrenUpdateCompleteMixin(LitElement) {
29
31
  constructor() {
@@ -32,7 +32,6 @@ import { randomID } from "../../../utils/utils";
32
32
  import styles from './atomic-commerce-recommendation-list.tw.css';
33
33
  /**
34
34
  * The `atomic-commerce-recommendation-list` component displays a list of product recommendations by applying one or more product templates.
35
- * @alpha
36
35
  *
37
36
  * @part result-list - The element containing the list of product recommendations.
38
37
  * @part result-list-grid-clickable-container - The parent of a recommended product and the clickable link encompassing it.
@@ -21,8 +21,6 @@ import { refineToggleGuard } from '../../common/refine-modal/guard';
21
21
  *
22
22
  * @part button - The refine toggle button.
23
23
  * @part placeholder - The placeholder shown while the first request is being executed.
24
- *
25
- * @alpha
26
24
  */
27
25
  let AtomicCommerceRefineToggle = class AtomicCommerceRefineToggle extends LitElement {
28
26
  initialize() {
@@ -73,8 +73,6 @@ import '../atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-
73
73
  * @part instant-results-show-all-button - The button inside the clickable suggestion from the `atomic-commerce-search-box-instant-products` component.
74
74
  *
75
75
  * @event redirect - Event that is emitted when a standalone search box redirection is triggered. By default, the search box will directly change the URL and redirect accordingly, so if you want to handle the redirection differently, use this event.
76
- *
77
- * @alpha
78
76
  */
79
77
  let AtomicCommerceSearchBox = class AtomicCommerceSearchBox extends LitElement {
80
78
  constructor() {
@@ -15,9 +15,7 @@ import { withTailwindStyles } from "../../../decorators/with-tailwind-styles.js"
15
15
  import { encodeForDomAttribute } from "../../../utils/string-utils";
16
16
  import { ProductTemplateProvider } from '../product-list/product-template-provider';
17
17
  /**
18
- * The `atomic-commerce-search-box-instant-products` component can be added as a child of an `atomic-search-box` component, allowing for the configuration of instant products behavior.
19
- *
20
- * This component does not support accessibility out-of-the-box. To do so, see [Instant Results Accessibility](https://docs.coveo.com/en/atomic/latest/usage/accessibility/#instant-results-accessibility).
18
+ * The `atomic-commerce-search-box-instant-products` component can be added as a child of an `atomic-commerce-search-box` component, allowing for the configuration of instant products behavior.
21
19
  *
22
20
  * This component is not supported on mobile.
23
21
  *
@@ -25,7 +23,6 @@ import { ProductTemplateProvider } from '../product-list/product-template-provid
25
23
  * @part instant-results-item - The individual instant product item.
26
24
  *
27
25
  * @slot default - The default slot where the instant products are rendered.
28
- * @alpha
29
26
  */
30
27
  let AtomicCommerceSearchBoxInstantProducts = class AtomicCommerceSearchBoxInstantProducts extends LitElement {
31
28
  constructor() {
@@ -12,8 +12,7 @@ import { dispatchSearchBoxSuggestionsEvent, } from "../../common/suggestions/sug
12
12
  import { errorGuard } from "../../../decorators/error-guard";
13
13
  const SearchIcon = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m6.4 0c3.5 0 6.4 2.9 6.4 6.4 0 1.4-.4 2.7-1.2 3.7l4 4c.4.4.4 1 .1 1.5l-.1.1c-.2.2-.5.3-.8.3s-.6-.1-.8-.3l-4-4c-1 .7-2.3 1.2-3.7 1.2-3.4-.1-6.3-3-6.3-6.5s2.9-6.4 6.4-6.4zm0 2.1c-2.3 0-4.3 1.9-4.3 4.3s1.9 4.3 4.3 4.3 4.3-1.9 4.3-4.3-1.9-4.3-4.3-4.3z\"/></svg>";
14
14
  /**
15
- * The `atomic-commerce-search-box-query-suggestions` component can be added as a child of an `atomic-search-box` component, allowing for the configuration of query suggestion behavior.
16
- * @alpha
15
+ * The `atomic-commerce-search-box-query-suggestions` component can be added as a child of an `atomic-commerce-search-box` component, allowing for the configuration of query suggestion behavior.
17
16
  */
18
17
  let AtomicCommerceSearchBoxQuerySuggestions = class AtomicCommerceSearchBoxQuerySuggestions extends LitElement {
19
18
  constructor() {
@@ -15,8 +15,6 @@ import { getPartialRecentQueryClearElement, getPartialRecentQueryElement, render
15
15
  import { dispatchSearchBoxSuggestionsEvent, } from '../../common/suggestions/suggestions-common';
16
16
  /**
17
17
  * The `atomic-commerce-search-box-recent-queries` component can be added as a child of an `atomic-commerce-search-box` component, allowing for the configuration of recent query suggestions.
18
- *
19
- * @alpha
20
18
  */
21
19
  let AtomicCommerceSearchBoxRecentQueries = class AtomicCommerceSearchBoxRecentQueries extends LitElement {
22
20
  constructor() {
@@ -27,8 +27,6 @@ import { getSortByLabel, renderCommerceSortOption } from '../sort/option';
27
27
  * @part select - The `<select>` element of the dropdown list.
28
28
  * @part select-separator - The element separating the select from the icon.
29
29
  * @part placeholder - The dropdown placeholder for while the interface is initializing.
30
- *
31
- * @alpha
32
30
  */
33
31
  let AtomicCommerceSortDropdown = class AtomicCommerceSortDropdown extends LitElement {
34
32
  constructor() {
@@ -42,8 +42,6 @@ import styles from './atomic-commerce-timeframe-facet.tw.css';
42
42
  * @part input-start - The start date input field.
43
43
  * @part input-end - The end date input field.
44
44
  * @part input-apply-button - The button to apply date range selection.
45
- *
46
- * @internal
47
45
  */
48
46
  let AtomicCommerceTimeframeFacet = class AtomicCommerceTimeframeFacet extends InitializeBindingsMixin(LitElement) {
49
47
  constructor() {
@@ -16,8 +16,6 @@ import { makeDefinedConditions, makeMatchConditions, } from '../../common/produc
16
16
  * The condition properties can be based on any top-level product property of the `product` object, not restricted to fields (e.g., `ec_name`).
17
17
  *
18
18
  * @slot default - The content to render if the conditions are met.
19
- *
20
- * @alpha
21
19
  */
22
20
  let AtomicProductFieldCondition = class AtomicProductFieldCondition extends LitElement {
23
21
  constructor() {
@@ -22,7 +22,8 @@ import '../atomic-product-text/atomic-product-text';
22
22
  import { SlotsForNoShadowDOMMixin, } from "../../../mixins/slots-for-no-shadow-dom-mixin";
23
23
  import styles from './atomic-product-link.tw.css';
24
24
  /**
25
- * The `atomic-product-link` component automatically transforms a search product title into a clickable link that points to the original item.
25
+ * The `atomic-product-link` component automatically transforms a product `ec_name` into a clickable link that points to the original item.
26
+ *
26
27
  * @slot default - The content to display inside the link.
27
28
  * @slot attributes - Use `<a slot="attributes" target="_blank"></a>` to pass custom attributes to the generated link.
28
29
  */
@@ -15,8 +15,6 @@ import { withTailwindStyles } from "../../../decorators/with-tailwind-styles";
15
15
  import { getFieldValueCaption } from '../../../utils/field-utils';
16
16
  import { titleToKebab } from '../../../utils/utils';
17
17
  /**
18
- * @alpha
19
- *
20
18
  * The `atomic-product-multi-value-text` component renders the values of a multi-value string field.
21
19
  *
22
20
  * @part product-multi-value-text-list - The list of field values.
@@ -18,7 +18,6 @@ import { parseValue } from '../product-template-component-utils/product-utils.js
18
18
  * The `atomic-product-numeric-field-value` component renders the value of a number product field.
19
19
  *
20
20
  * The number can be formatted by adding a `atomic-format-number`, `atomic-format-currency` or `atomic-format-unit` component into this component.
21
- * @alpha
22
21
  */
23
22
  let AtomicProductNumericFieldValue = class AtomicProductNumericFieldValue extends LitElement {
24
23
  constructor() {
@@ -20,7 +20,6 @@ import { defaultCurrencyFormatter } from '../../common/formats/format-common.js'
20
20
  import { parseValue } from '../product-template-component-utils/product-utils.js';
21
21
  /**
22
22
  * The `atomic-product-price` component renders the price of a product.
23
- * @alpha
24
23
  */
25
24
  let AtomicProductPrice = class AtomicProductPrice extends LitElement {
26
25
  constructor() {
@@ -24,8 +24,6 @@ import { computeNumberOfStars, renderRating, } from '../../common/atomic-rating/
24
24
  * @cssprop --atomic-rating-icon-active-color - Color of the icon when active.
25
25
  * @cssprop --atomic-rating-icon-inactive-color - Color of the icon when inactive.
26
26
  * @cssprop --atomic-rating-icon-outline - Outline color of the icon.
27
- *
28
- * @alpha
29
27
  */
30
28
  let AtomicProductRating = class AtomicProductRating extends LitElement {
31
29
  constructor() {
@@ -33,8 +33,6 @@ import '../atomic-product-rating/atomic-product-rating';
33
33
  * @MapProp name: mustNotMatch;attr: must-not-match;docs: The field and values that must not be matched by a product item for the template to apply. For example, a template with the following attribute only applies to product items whose `filetype` is not `lithiummessage`: `must-not-match-filetype="lithiummessage";type: Record<string, string[]> ;default: {}
34
34
  * @slot default - The default slot where to insert the template element.
35
35
  * @slot link - A `template` element that contains a single `atomic-product-link` component.
36
- *
37
- * @alpha
38
36
  */
39
37
  let AtomicProductTemplate = class AtomicProductTemplate extends LitElement {
40
38
  constructor() {
@@ -12,6 +12,7 @@ export const renderFacetValueCheckbox = ({ props }) => (children) => {
12
12
  const ariaLabelAttributes = {
13
13
  value: props.displayValue,
14
14
  count: props.numberOfResults,
15
+ formattedCount: count,
15
16
  interpolation: { escapeValue: false },
16
17
  };
17
18
  const selectedAriaLabel = props.i18n.t('facet-value', ariaLabelAttributes);
@@ -7,6 +7,7 @@ export const renderFacetValueLink = ({ props }) => (children) => {
7
7
  const ariaLabel = props.i18n.t('facet-value', {
8
8
  value: props.displayValue,
9
9
  count: props.numberOfResults,
10
+ formattedCount: count,
10
11
  interpolation: { escapeValue: false },
11
12
  });
12
13
  let part = props.part ??
@@ -3,7 +3,7 @@ function getWindow() {
3
3
  }
4
4
  export function getAtomicEnvironment(headlessVersion) {
5
5
  return {
6
- version: "3.32.2",
6
+ version: "3.32.3-pre.467a471c62",
7
7
  headlessVersion,
8
8
  };
9
9
  }