@coveo/atomic 3.65.0 → 3.66.0

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 (159) hide show
  1. package/custom-elements.json +1521 -1407
  2. package/dist/assets/education.svg +0 -0
  3. package/dist/assets/events.svg +0 -0
  4. package/dist/assets/fulfillment_order.svg +0 -0
  5. package/dist/assets/opportunity_contact_role.svg +0 -0
  6. package/dist/assets/order_item.svg +0 -0
  7. package/dist/assets/recycle_bin.svg +0 -0
  8. package/dist/assets/store.svg +0 -0
  9. package/dist/cjs/components/commerce/atomic-commerce-interface/atomic-commerce-interface.cjs +10 -2
  10. package/dist/cjs/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.cjs +9 -1
  11. package/dist/cjs/components/common/generated-answer/answer-announcement.cjs +8 -5
  12. package/dist/cjs/components/common/generated-answer/generated-answer-controller.cjs +6 -3
  13. package/dist/cjs/components/common/generated-answer/render-disclaimer.cjs +6 -2
  14. package/dist/cjs/components/common/heading.cjs +1 -4
  15. package/dist/cjs/components/common/interface/interface-controller.cjs +5 -2
  16. package/dist/cjs/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.cjs +1 -0
  17. package/dist/cjs/components/insight/atomic-insight-interface/atomic-insight-interface.cjs +10 -2
  18. package/dist/cjs/components/recommendations/atomic-recs-interface/atomic-recs-interface.cjs +12 -4
  19. package/dist/cjs/components/search/atomic-generated-answer/atomic-generated-answer.cjs +2 -0
  20. package/dist/cjs/components/search/atomic-search-interface/atomic-search-interface.cjs +10 -2
  21. package/dist/cjs/global/environment.cjs +1 -1
  22. package/dist/cjs/utils/coveo.tw.css.cjs +1 -1
  23. package/dist/cjs/utils/tailwind.global.tw.css.cjs +1 -1
  24. package/dist/cjs/versions.cjs +1 -1
  25. package/dist/esm/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.js +1 -1
  26. package/dist/esm/components/commerce/atomic-commerce-category-facet/atomic-commerce-category-facet.js +1 -1
  27. package/dist/esm/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +10 -2
  28. package/dist/esm/components/commerce/atomic-commerce-product-list/atomic-commerce-product-list.js +1 -1
  29. package/dist/esm/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.js +9 -1
  30. package/dist/esm/components/commerce/atomic-commerce-recommendation-list/atomic-commerce-recommendation-list.js +1 -1
  31. package/dist/esm/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +1 -1
  32. package/dist/esm/components/commerce/atomic-product/atomic-product.tw.css.js +1 -1
  33. package/dist/esm/components/commerce/atomic-product-link/atomic-product-link.tw.css.js +1 -1
  34. package/dist/esm/components/commerce/atomic-product-section-actions/atomic-product-section-actions.js +1 -1
  35. package/dist/esm/components/commerce/atomic-product-section-badges/atomic-product-section-badges.js +1 -1
  36. package/dist/esm/components/commerce/atomic-product-section-bottom-metadata/atomic-product-section-bottom-metadata.js +1 -1
  37. package/dist/esm/components/commerce/atomic-product-section-children/atomic-product-section-children.js +1 -1
  38. package/dist/esm/components/commerce/atomic-product-section-description/atomic-product-section-description.js +1 -1
  39. package/dist/esm/components/commerce/atomic-product-section-emphasized/atomic-product-section-emphasized.js +1 -1
  40. package/dist/esm/components/commerce/atomic-product-section-metadata/atomic-product-section-metadata.js +1 -1
  41. package/dist/esm/components/commerce/atomic-product-section-name/atomic-product-section-name.js +1 -1
  42. package/dist/esm/components/commerce/atomic-product-section-visual/atomic-product-section-visual.js +1 -1
  43. package/dist/esm/components/common/atomic-agent-stream-of-thought/atomic-agent-stream-of-thought.tw.css.js +1 -1
  44. package/dist/esm/components/common/atomic-ask-follow-up-input/atomic-ask-follow-up-input.tw.css.js +1 -1
  45. package/dist/esm/components/common/atomic-citation/atomic-citation.tw.css.js +1 -1
  46. package/dist/esm/components/common/atomic-generated-answer-feedback-modal/atomic-generated-answer-feedback-modal.js +1 -1
  47. package/dist/esm/components/common/atomic-generated-answer-inline-link/atomic-generated-answer-inline-link.tw.css.js +1 -1
  48. package/dist/esm/components/common/atomic-modal/atomic-modal.js +1 -1
  49. package/dist/esm/components/common/atomic-rating/atomic-rating.tw.css.js +1 -1
  50. package/dist/esm/components/common/atomic-result-placeholder/atomic-result-placeholder.js +1 -1
  51. package/dist/esm/components/common/atomic-smart-snippet-answer/atomic-smart-snippet-answer.tw.css.js +1 -1
  52. package/dist/esm/components/common/atomic-smart-snippet-expandable-answer/atomic-smart-snippet-expandable-answer.tw.css.js +1 -1
  53. package/dist/esm/components/common/atomic-tab-bar/atomic-tab-bar.js +1 -1
  54. package/dist/esm/components/common/facets/facet-common.tw.css.js +1 -1
  55. package/dist/esm/components/common/facets/facet-search/facet-search.tw.css.js +1 -1
  56. package/dist/esm/components/common/facets/facet-value-box/facet-value-box.tw.css.js +1 -1
  57. package/dist/esm/components/common/facets/facet-value-checkbox/facet-value-checkbox.tw.css.js +1 -1
  58. package/dist/esm/components/common/generated-answer/answer-announcement.js +8 -5
  59. package/dist/esm/components/common/generated-answer/generated-answer-controller.js +6 -3
  60. package/dist/esm/components/common/generated-answer/generated-content/generated-markdown-content.tw.css.js +1 -1
  61. package/dist/esm/components/common/generated-answer/render-disclaimer.js +4 -3
  62. package/dist/esm/components/common/generated-answer/styles/generated-answer.tw.css.js +1 -1
  63. package/dist/esm/components/common/generated-answer/styles/generated-text.tw.css.js +1 -1
  64. package/dist/esm/components/common/heading.js +1 -4
  65. package/dist/esm/components/common/interface/interface-controller.js +5 -2
  66. package/dist/esm/components/common/item-list/styles/grid-display.tw.css.js +1 -1
  67. package/dist/esm/components/common/item-list/styles/list-display.tw.css.js +1 -1
  68. package/dist/esm/components/common/item-list/styles/table-display.tw.css.js +1 -1
  69. package/dist/esm/components/insight/atomic-insight-full-search-button/atomic-insight-full-search-button.js +1 -1
  70. package/dist/esm/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.js +2 -1
  71. package/dist/esm/components/insight/atomic-insight-interface/atomic-insight-interface.js +10 -2
  72. package/dist/esm/components/insight/atomic-insight-pager/atomic-insight-pager.js +1 -1
  73. package/dist/esm/components/insight/atomic-insight-result/atomic-insight-result.js +1 -1
  74. package/dist/esm/components/insight/atomic-insight-result-action/atomic-insight-result-action.js +1 -1
  75. package/dist/esm/components/insight/atomic-insight-result-action-bar/atomic-insight-result-action-bar.js +1 -1
  76. package/dist/esm/components/insight/atomic-insight-result-children/atomic-insight-result-children.js +1 -1
  77. package/dist/esm/components/insight/atomic-insight-result-list/insight-list-display.tw.css.js +1 -1
  78. package/dist/esm/components/insight/atomic-insight-search-box/atomic-insight-search-box.tw.css.js +1 -1
  79. package/dist/esm/components/insight/atomic-insight-smart-snippet/atomic-insight-smart-snippet.tw.css.js +1 -1
  80. package/dist/esm/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.tw.css.js +1 -1
  81. package/dist/esm/components/insight/atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.tw.css.js +1 -1
  82. package/dist/esm/components/insight/atomic-insight-tab/atomic-insight-tab.js +1 -1
  83. package/dist/esm/components/insight/atomic-insight-user-actions-modal/atomic-insight-user-actions-modal.js +1 -1
  84. package/dist/esm/components/insight/atomic-insight-user-actions-session/atomic-insight-user-actions-session.js +1 -1
  85. package/dist/esm/components/insight/atomic-insight-user-actions-timeline/atomic-insight-user-actions-timeline.js +1 -1
  86. package/dist/esm/components/ipx/atomic-ipx-button/atomic-ipx-button.js +1 -1
  87. package/dist/esm/components/ipx/atomic-ipx-embedded/atomic-ipx-embedded.js +1 -1
  88. package/dist/esm/components/ipx/atomic-ipx-modal/atomic-ipx-modal.js +1 -1
  89. package/dist/esm/components/ipx/atomic-ipx-recs-list/atomic-ipx-recs-list.js +1 -1
  90. package/dist/esm/components/ipx/atomic-ipx-refine-modal/atomic-ipx-refine-modal.js +1 -1
  91. package/dist/esm/components/ipx/atomic-ipx-refine-toggle/atomic-ipx-refine-toggle.js +1 -1
  92. package/dist/esm/components/ipx/atomic-ipx-result-link/atomic-ipx-result-link.tw.css.js +1 -1
  93. package/dist/esm/components/ipx/atomic-ipx-tab/atomic-ipx-tab.js +1 -1
  94. package/dist/esm/components/recommendations/atomic-recs-interface/atomic-recs-interface.js +12 -4
  95. package/dist/esm/components/recommendations/atomic-recs-list/atomic-recs-list.js +1 -1
  96. package/dist/esm/components/recommendations/atomic-recs-result/atomic-recs-result.js +1 -1
  97. package/dist/esm/components/search/atomic-breadbox/atomic-breadbox.js +1 -1
  98. package/dist/esm/components/search/atomic-category-facet/atomic-category-facet.js +1 -1
  99. package/dist/esm/components/search/atomic-generated-answer/atomic-generated-answer.js +3 -1
  100. package/dist/esm/components/search/atomic-quickview-modal/atomic-quickview-modal.js +1 -1
  101. package/dist/esm/components/search/atomic-refine-modal/atomic-refine-modal.js +1 -1
  102. package/dist/esm/components/search/atomic-result/atomic-result.js +1 -1
  103. package/dist/esm/components/search/atomic-result-children/atomic-result-children.js +1 -1
  104. package/dist/esm/components/search/atomic-result-link/atomic-result-link.tw.css.js +1 -1
  105. package/dist/esm/components/search/atomic-result-section-actions/atomic-result-section-actions.js +1 -1
  106. package/dist/esm/components/search/atomic-result-section-badges/atomic-result-section-badges.js +1 -1
  107. package/dist/esm/components/search/atomic-result-section-bottom-metadata/atomic-result-section-bottom-metadata.js +1 -1
  108. package/dist/esm/components/search/atomic-result-section-children/atomic-result-section-children.js +1 -1
  109. package/dist/esm/components/search/atomic-result-section-emphasized/atomic-result-section-emphasized.js +1 -1
  110. package/dist/esm/components/search/atomic-result-section-excerpt/atomic-result-section-excerpt.js +1 -1
  111. package/dist/esm/components/search/atomic-result-section-title/atomic-result-section-title.js +1 -1
  112. package/dist/esm/components/search/atomic-result-section-title-metadata/atomic-result-section-title-metadata.js +1 -1
  113. package/dist/esm/components/search/atomic-result-section-visual/atomic-result-section-visual.js +1 -1
  114. package/dist/esm/components/search/atomic-result-table-placeholder/atomic-result-table-placeholder.js +1 -1
  115. package/dist/esm/components/search/atomic-search-box/atomic-search-box.js +1 -1
  116. package/dist/esm/components/search/atomic-search-interface/atomic-search-interface.js +10 -2
  117. package/dist/esm/components/search/atomic-smart-snippet/atomic-smart-snippet.tw.css.js +1 -1
  118. package/dist/esm/components/search/atomic-smart-snippet-feedback-modal/atomic-smart-snippet-feedback-modal.tw.css.js +1 -1
  119. package/dist/esm/components/search/atomic-smart-snippet-suggestions/atomic-smart-snippet-suggestions.tw.css.js +1 -1
  120. package/dist/esm/components/search/atomic-tab-manager/atomic-tab-manager.tw.css.js +1 -1
  121. package/dist/esm/components/search/facets/facet-segmented-value/facet-segmented-value.tw.css.js +1 -1
  122. package/dist/esm/global/environment.js +1 -1
  123. package/dist/esm/utils/coveo.tw.css.js +1 -1
  124. package/dist/esm/utils/tailwind.global.tw.css.js +1 -1
  125. package/dist/esm/versions.js +1 -1
  126. package/dist/lang/cs.json +1 -1
  127. package/dist/lang/da.json +1 -1
  128. package/dist/lang/de.json +1 -1
  129. package/dist/lang/dev.json +1 -1
  130. package/dist/lang/el.json +1 -1
  131. package/dist/lang/en.json +1 -1
  132. package/dist/lang/es.json +1 -1
  133. package/dist/lang/fi.json +1 -1
  134. package/dist/lang/fr.json +1 -1
  135. package/dist/lang/hu.json +1 -1
  136. package/dist/lang/id.json +1 -1
  137. package/dist/lang/it.json +1 -1
  138. package/dist/lang/ja.json +1 -1
  139. package/dist/lang/ko.json +1 -1
  140. package/dist/lang/nl.json +1 -1
  141. package/dist/lang/no.json +1 -1
  142. package/dist/lang/pl.json +1 -1
  143. package/dist/lang/pt-BR.json +1 -1
  144. package/dist/lang/pt.json +1 -1
  145. package/dist/lang/ru.json +1 -1
  146. package/dist/lang/sv.json +1 -1
  147. package/dist/lang/th.json +1 -1
  148. package/dist/lang/tr.json +1 -1
  149. package/dist/lang/zh-CN.json +1 -1
  150. package/dist/lang/zh-TW.json +1 -1
  151. package/dist/lang/zh.json +1 -1
  152. package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts +6 -1
  153. package/dist/types/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.d.ts +5 -0
  154. package/dist/types/components/common/generated-answer/render-disclaimer.d.ts +3 -0
  155. package/dist/types/components/common/interface/interface-controller.d.ts +2 -0
  156. package/dist/types/components/insight/atomic-insight-interface/atomic-insight-interface.d.ts +5 -0
  157. package/dist/types/components/recommendations/atomic-recs-interface/atomic-recs-interface.d.ts +6 -1
  158. package/dist/types/components/search/atomic-search-interface/atomic-search-interface.d.ts +6 -1
  159. package/package.json +30 -29
@@ -518,13 +518,13 @@
518
518
  },
519
519
  {
520
520
  "kind": "javascript-module",
521
- "path": "src/generated/dayjs-locales-data.ts",
521
+ "path": "src/global/environment.ts",
522
522
  "declarations": [],
523
523
  "exports": []
524
524
  },
525
525
  {
526
526
  "kind": "javascript-module",
527
- "path": "src/global/environment.ts",
527
+ "path": "src/generated/dayjs-locales-data.ts",
528
528
  "declarations": [],
529
529
  "exports": []
530
530
  },
@@ -1216,19 +1216,19 @@
1216
1216
  },
1217
1217
  {
1218
1218
  "kind": "javascript-module",
1219
- "path": "src/components/search/index.ts",
1219
+ "path": "src/storybook-docs/e2e/storybook-docs.e2e.ts",
1220
1220
  "declarations": [],
1221
1221
  "exports": []
1222
1222
  },
1223
1223
  {
1224
1224
  "kind": "javascript-module",
1225
- "path": "src/components/search/lazy-index.ts",
1225
+ "path": "src/components/search/index.ts",
1226
1226
  "declarations": [],
1227
1227
  "exports": []
1228
1228
  },
1229
1229
  {
1230
1230
  "kind": "javascript-module",
1231
- "path": "src/storybook-docs/e2e/storybook-docs.e2e.ts",
1231
+ "path": "src/components/search/lazy-index.ts",
1232
1232
  "declarations": [],
1233
1233
  "exports": []
1234
1234
  },
@@ -2965,9 +2965,22 @@
2965
2965
  "privacy": "public",
2966
2966
  "default": "true",
2967
2967
  "description": "Whether analytics should be enabled.",
2968
+ "deprecated": "- Use `disable-analytics` instead (this defaults to `true`, while the replacement defaults to `false`).",
2968
2969
  "attribute": "analytics",
2969
2970
  "reflects": true
2970
2971
  },
2972
+ {
2973
+ "kind": "field",
2974
+ "name": "disableAnalytics",
2975
+ "type": {
2976
+ "text": "boolean"
2977
+ },
2978
+ "privacy": "public",
2979
+ "default": "false",
2980
+ "description": "Whether to disable analytics.",
2981
+ "attribute": "disable-analytics",
2982
+ "reflects": true
2983
+ },
2971
2984
  {
2972
2985
  "kind": "field",
2973
2986
  "name": "logLevel",
@@ -3106,7 +3119,7 @@
3106
3119
  }
3107
3120
  }
3108
3121
  ],
3109
- "description": "Initializes the connection with a preconfigured [headless commerce engine](https://docs.coveo.com/en/headless/latest/reference/interfaces/Commerce.CommerceEngine.html), as opposed to the `initialize` method, which internally creates a new commerce engine instance.\nThis bypasses the properties set on the component, such as analytics and language."
3122
+ "description": "Initializes the connection with a preconfigured [headless commerce engine](https://docs.coveo.com/en/headless/latest/reference/interfaces/Commerce.CommerceEngine.html), as opposed to the `initialize` method, which internally creates a new commerce engine instance.\nThis bypasses the properties set on the component, such as disableAnalytics and language."
3110
3123
  },
3111
3124
  {
3112
3125
  "kind": "method",
@@ -3342,8 +3355,18 @@
3342
3355
  },
3343
3356
  "default": "true",
3344
3357
  "description": "Whether analytics should be enabled.",
3358
+ "deprecated": "- Use `disable-analytics` instead (this defaults to `true`, while the replacement defaults to `false`).",
3345
3359
  "fieldName": "analytics"
3346
3360
  },
3361
+ {
3362
+ "name": "disable-analytics",
3363
+ "type": {
3364
+ "text": "boolean"
3365
+ },
3366
+ "default": "false",
3367
+ "description": "Whether to disable analytics.",
3368
+ "fieldName": "disableAnalytics"
3369
+ },
3347
3370
  {
3348
3371
  "name": "log-level",
3349
3372
  "type": {
@@ -5446,9 +5469,21 @@
5446
5469
  },
5447
5470
  "default": "true",
5448
5471
  "description": "Whether to enable analytics.",
5472
+ "deprecated": "- Use `disable-analytics` instead (this defaults to `true`, while the replacement defaults to `false`).",
5449
5473
  "attribute": "analytics",
5450
5474
  "reflects": true
5451
5475
  },
5476
+ {
5477
+ "kind": "field",
5478
+ "name": "disableAnalytics",
5479
+ "type": {
5480
+ "text": "boolean"
5481
+ },
5482
+ "default": "false",
5483
+ "description": "Whether to disable analytics.",
5484
+ "attribute": "disable-analytics",
5485
+ "reflects": true
5486
+ },
5452
5487
  {
5453
5488
  "kind": "field",
5454
5489
  "name": "i18Initialized",
@@ -5687,7 +5722,17 @@
5687
5722
  },
5688
5723
  "default": "true",
5689
5724
  "description": "Whether to enable analytics.",
5725
+ "deprecated": "- Use `disable-analytics` instead (this defaults to `true`, while the replacement defaults to `false`).",
5690
5726
  "fieldName": "analytics"
5727
+ },
5728
+ {
5729
+ "name": "disable-analytics",
5730
+ "type": {
5731
+ "text": "boolean"
5732
+ },
5733
+ "default": "false",
5734
+ "description": "Whether to disable analytics.",
5735
+ "fieldName": "disableAnalytics"
5691
5736
  }
5692
5737
  ],
5693
5738
  "mixins": [
@@ -6706,1336 +6751,1336 @@
6706
6751
  },
6707
6752
  {
6708
6753
  "kind": "javascript-module",
6709
- "path": "src/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.ts",
6754
+ "path": "src/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.ts",
6710
6755
  "declarations": [
6711
6756
  {
6712
6757
  "kind": "class",
6713
- "description": "The `atomic-commerce-search-box` component enables users to perform product searches with built-in query suggestions and optional redirection to a search page.",
6714
- "name": "AtomicCommerceSearchBox",
6758
+ "description": "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.\n\nThis component is not supported on mobile.",
6759
+ "name": "AtomicCommerceSearchBoxInstantProducts",
6715
6760
  "cssParts": [
6716
6761
  {
6717
- "description": "The search box wrapper.",
6718
- "name": "wrapper"
6719
- },
6720
- {
6721
- "description": "The search box input.",
6722
- "name": "input"
6723
- },
6724
- {
6725
- "description": "The search box loading animation.",
6726
- "name": "loading"
6727
- },
6728
- {
6729
- "description": "The button to clear the search box of input.",
6730
- "name": "clear-button"
6731
- },
6732
- {
6733
- "description": "The clear button's icon.",
6734
- "name": "clear-icon"
6735
- },
6736
- {
6737
- "description": "The search box submit button.",
6738
- "name": "submit-button"
6739
- },
6740
- {
6741
- "description": "The search box submit button's icon.",
6742
- "name": "submit-icon"
6743
- },
6744
- {
6745
- "description": "A list of suggested query corrections on each panel.",
6746
- "name": "suggestions"
6747
- },
6748
- {
6749
- "description": "A list of suggested query corrections on the left panel.",
6750
- "name": "suggestions-left"
6751
- },
6752
- {
6753
- "description": "A list of suggested query corrections on the right panel.",
6754
- "name": "suggestions-right"
6755
- },
6756
- {
6757
- "description": "The wrapper that contains suggestion panels.",
6758
- "name": "suggestions-wrapper"
6759
- },
6760
- {
6761
- "description": "The wrapper that contains 1 suggestion list.",
6762
- "name": "suggestions-single-list"
6763
- },
6764
- {
6765
- "description": "The wrapper that contains 2 suggestion lists.",
6766
- "name": "suggestions-double-list"
6767
- },
6768
- {
6769
- "description": "A suggested query correction.",
6770
- "name": "suggestion"
6771
- },
6772
- {
6773
- "description": "The currently active suggestion.",
6774
- "name": "active-suggestion"
6775
- },
6776
- {
6777
- "description": "An item in the list that separates groups of suggestions.",
6778
- "name": "suggestion-divider"
6779
- },
6780
- {
6781
- "description": "An item in the list that will update the search box query.",
6782
- "name": "suggestion-with-query"
6783
- },
6784
- {
6785
- "description": "A suggestion from the `atomic-commerce-search-box-query-suggestions` component.",
6786
- "name": "query-suggestion-item"
6787
- },
6788
- {
6789
- "description": "The contents of a suggestion from the `atomic-commerce-search-box-query-suggestions` component.",
6790
- "name": "query-suggestion-content"
6791
- },
6792
- {
6793
- "description": "The icon of a suggestion from the `atomic-commerce-search-box-query-suggestions` component.",
6794
- "name": "query-suggestion-icon"
6795
- },
6796
- {
6797
- "description": "The text of a suggestion from the `atomic-commerce-search-box-query-suggestions` component.",
6798
- "name": "query-suggestion-text"
6799
- },
6800
- {
6801
- "description": "A suggestion from the `atomic-commerce-search-box-recent-queries` component.",
6802
- "name": "recent-query-item"
6803
- },
6804
- {
6805
- "description": "The contents of a suggestion from the `atomic-commerce-search-box-recent-queries` component.",
6806
- "name": "recent-query-content"
6807
- },
6808
- {
6809
- "description": "The icon of a suggestion from the `atomic-commerce-search-box-recent-queries` component.",
6810
- "name": "recent-query-icon"
6811
- },
6812
- {
6813
- "description": "The text of a suggestion from the `atomic-commerce-search-box-recent-queries` component.",
6814
- "name": "recent-query-text"
6815
- },
6816
- {
6817
- "description": "The highlighted portion of the text of a suggestion from the `atomic-commerce-search-box-recent-queries` component.",
6818
- "name": "recent-query-text-highlight"
6819
- },
6820
- {
6821
- "description": "The clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
6822
- "name": "recent-query-title-item"
6823
- },
6824
- {
6825
- "description": "The contents of the clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
6826
- "name": "recent-query-title-content"
6827
- },
6828
- {
6829
- "description": "The \"recent searches\" title above the recent queries from the `atomic-commerce-search-box-recent-queries` component.",
6830
- "name": "recent-query-title"
6831
- },
6832
- {
6833
- "description": "The \"clear\" text of the clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
6834
- "name": "recent-query-clear"
6835
- },
6836
- {
6837
- "description": "The button below suggestions to clear the recent queries from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `bottom`.",
6838
- "name": "recent-query-clear-button"
6762
+ "description": "The 'See all products' button.",
6763
+ "name": "instant-results-show-all-button"
6839
6764
  },
6840
6765
  {
6841
- "description": "An instant product rendered by an `atomic-commerce-search-box-instant-products` component.",
6766
+ "description": "The individual instant product item.",
6842
6767
  "name": "instant-results-item"
6843
- },
6844
- {
6845
- "description": "The clickable suggestion to show all items for the current instant product search rendered by an `atomic-commerce-search-box-instant-products` component.",
6846
- "name": "instant-results-show-all"
6847
- },
6848
- {
6849
- "description": "The button inside the clickable suggestion from the `atomic-commerce-search-box-instant-products` component.",
6850
- "name": "instant-results-show-all-button"
6851
6768
  }
6852
6769
  ],
6853
6770
  "slots": [
6854
6771
  {
6855
- "description": "The default slot where you can add child components to the search box.",
6772
+ "description": "The default slot where the instant products are rendered.",
6856
6773
  "name": "default"
6857
6774
  }
6858
6775
  ],
6859
6776
  "members": [
6860
6777
  {
6861
6778
  "kind": "field",
6862
- "name": "propsSchema",
6863
- "privacy": "private",
6864
- "static": true,
6865
- "readonly": true,
6866
- "default": "new Schema({ clearRecentButtonPosition: new StringValue({constrainTo: ['top', 'bottom']}), })"
6779
+ "name": "bindings",
6780
+ "type": {
6781
+ "text": "SearchBoxSuggestionsBindings<SearchBox, CommerceBindings>"
6782
+ },
6783
+ "privacy": "private"
6867
6784
  },
6868
6785
  {
6869
6786
  "kind": "field",
6870
- "name": "shadowRootOptions",
6787
+ "name": "itemRenderingFunction",
6871
6788
  "type": {
6872
- "text": "object"
6789
+ "text": "ItemRenderingFunction"
6873
6790
  },
6874
- "static": true,
6875
- "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
6791
+ "privacy": "private"
6876
6792
  },
6877
6793
  {
6878
6794
  "kind": "field",
6879
- "name": "bindings",
6795
+ "name": "products",
6880
6796
  "type": {
6881
- "text": "CommerceBindings"
6797
+ "text": "Product[]"
6882
6798
  },
6883
- "privacy": "private"
6799
+ "privacy": "private",
6800
+ "default": "[]"
6884
6801
  },
6885
6802
  {
6886
6803
  "kind": "field",
6887
- "name": "error",
6804
+ "name": "itemTemplateProvider",
6888
6805
  "type": {
6889
- "text": "Error"
6806
+ "text": "ProductTemplateProvider"
6890
6807
  },
6891
6808
  "privacy": "private"
6892
6809
  },
6893
6810
  {
6894
6811
  "kind": "field",
6895
- "name": "isExpanded",
6812
+ "name": "instantProducts",
6896
6813
  "type": {
6897
- "text": "boolean"
6814
+ "text": "InstantProducts"
6898
6815
  },
6899
- "default": "false"
6816
+ "privacy": "private"
6900
6817
  },
6901
6818
  {
6902
6819
  "kind": "field",
6903
- "name": "searchBoxState",
6820
+ "name": "display",
6904
6821
  "type": {
6905
- "text": "SearchBoxState | StandaloneSearchBoxState"
6822
+ "text": "ItemDisplayLayout"
6906
6823
  },
6907
- "privacy": "private"
6824
+ "privacy": "private",
6825
+ "default": "'list'"
6908
6826
  },
6909
6827
  {
6910
6828
  "kind": "field",
6911
- "name": "textAreaRef",
6829
+ "name": "error",
6830
+ "type": {
6831
+ "text": "Error"
6832
+ },
6912
6833
  "privacy": "private"
6913
6834
  },
6914
6835
  {
6915
6836
  "kind": "field",
6916
- "name": "setLeftPanel",
6917
- "privacy": "private"
6837
+ "name": "templateHasError",
6838
+ "type": {
6839
+ "text": "boolean"
6840
+ },
6841
+ "privacy": "private",
6842
+ "default": "false"
6918
6843
  },
6919
6844
  {
6920
- "kind": "field",
6921
- "name": "setRightPanel",
6922
- "privacy": "private"
6845
+ "kind": "method",
6846
+ "name": "setRenderFunction",
6847
+ "privacy": "public",
6848
+ "parameters": [
6849
+ {
6850
+ "name": "resultRenderingFunction",
6851
+ "type": {
6852
+ "text": "ItemRenderingFunction"
6853
+ }
6854
+ }
6855
+ ],
6856
+ "description": "Sets a rendering function to bypass the standard HTML template mechanism for rendering products.\nYou can use this function while working with web frameworks that don't use plain HTML syntax such as React, Angular, or Vue.\n\nDo not use this method if you integrate Atomic in a plain HTML deployment."
6923
6857
  },
6924
6858
  {
6925
6859
  "kind": "field",
6926
- "name": "searchBoxSuggestionEventsQueue",
6860
+ "name": "density",
6927
6861
  "type": {
6928
- "text": "CustomEvent<\n SearchBoxSuggestionsEvent<SearchBox | StandaloneSearchBox>\n >[]"
6862
+ "text": "ItemDisplayDensity"
6929
6863
  },
6930
- "privacy": "private",
6931
- "default": "[]"
6864
+ "privacy": "public",
6865
+ "default": "'normal'",
6866
+ "description": "The spacing of various elements in the product list, including the gap between products, the gap between parts of a product, and the font sizes of different parts in a product.",
6867
+ "attribute": "density",
6868
+ "reflects": true
6932
6869
  },
6933
6870
  {
6934
6871
  "kind": "field",
6935
- "name": "suggestionManager",
6872
+ "name": "imageSize",
6936
6873
  "type": {
6937
- "text": "SuggestionManager<SearchBox | StandaloneSearchBox>"
6874
+ "text": "ItemDisplayImageSize"
6938
6875
  },
6939
- "privacy": "private"
6876
+ "privacy": "public",
6877
+ "default": "'icon'",
6878
+ "description": "The expected size of the image displayed in the products.",
6879
+ "attribute": "image-size",
6880
+ "reflects": true
6940
6881
  },
6941
6882
  {
6942
6883
  "kind": "field",
6943
- "name": "searchBox",
6884
+ "name": "ariaLabelGenerator",
6944
6885
  "type": {
6945
- "text": "SearchBox | StandaloneSearchBox"
6886
+ "text": "AriaLabelGenerator"
6946
6887
  },
6947
- "privacy": "private"
6888
+ "privacy": "public",
6889
+ "description": "The callback to generate an [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) for a given product so that accessibility tools can fully describe what's visually rendered by a product.\n\nBy default, or if an empty string is returned, `product.ec_name` is used.",
6890
+ "attribute": "aria-label-generator"
6948
6891
  },
6949
6892
  {
6950
- "kind": "field",
6951
- "name": "searchBoxAriaMessage",
6952
- "privacy": "protected",
6953
- "default": "new AriaLiveRegionController(this, 'search-box')"
6893
+ "kind": "method",
6894
+ "name": "getLink",
6895
+ "privacy": "private",
6896
+ "return": {
6897
+ "type": {
6898
+ "text": "HTMLElement | null"
6899
+ }
6900
+ },
6901
+ "parameters": [
6902
+ {
6903
+ "name": "el",
6904
+ "type": {
6905
+ "text": "HTMLElement"
6906
+ }
6907
+ }
6908
+ ]
6954
6909
  },
6955
6910
  {
6956
- "kind": "field",
6957
- "name": "suggestionsAriaMessage",
6958
- "privacy": "protected",
6959
- "default": "new AriaLiveRegionController(this, 'search-suggestions', true)"
6911
+ "kind": "method",
6912
+ "name": "handleLinkClick",
6913
+ "privacy": "private",
6914
+ "parameters": [
6915
+ {
6916
+ "name": "el",
6917
+ "type": {
6918
+ "text": "HTMLElement"
6919
+ }
6920
+ },
6921
+ {
6922
+ "name": "hasModifier",
6923
+ "type": {
6924
+ "text": "boolean"
6925
+ }
6926
+ }
6927
+ ]
6960
6928
  },
6961
6929
  {
6962
- "kind": "field",
6963
- "name": "numberOfQueries",
6930
+ "kind": "method",
6931
+ "name": "renderItems",
6932
+ "privacy": "private",
6933
+ "return": {
6934
+ "type": {
6935
+ "text": "SearchBoxSuggestionElement[]"
6936
+ }
6937
+ }
6938
+ },
6939
+ {
6940
+ "kind": "method",
6941
+ "name": "initialize",
6942
+ "privacy": "public",
6943
+ "return": {
6944
+ "type": {
6945
+ "text": "SearchBoxSuggestions"
6946
+ }
6947
+ }
6948
+ },
6949
+ {
6950
+ "kind": "method",
6951
+ "name": "onSuggestedQueryChange",
6952
+ "privacy": "private"
6953
+ }
6954
+ ],
6955
+ "attributes": [
6956
+ {
6957
+ "name": "density",
6964
6958
  "type": {
6965
- "text": "number"
6959
+ "text": "ItemDisplayDensity"
6966
6960
  },
6967
- "default": "8",
6968
- "description": "The amount of queries displayed when the user interacts with the search box.\nBy default, a mix of query suggestions and recent queries will be shown.\nYou can configure those settings using the following components as children:\n - atomic-commerce-search-box-query-suggestions\n - atomic-commerce-search-box-recent-queries",
6969
- "attribute": "number-of-queries",
6970
- "reflects": true
6961
+ "default": "'normal'",
6962
+ "description": "The spacing of various elements in the product list, including the gap between products, the gap between parts of a product, and the font sizes of different parts in a product.",
6963
+ "fieldName": "density"
6971
6964
  },
6972
6965
  {
6973
- "kind": "field",
6974
- "name": "redirectionUrl",
6966
+ "name": "image-size",
6975
6967
  "type": {
6976
- "text": "string"
6968
+ "text": "ItemDisplayImageSize"
6977
6969
  },
6978
- "privacy": "public",
6979
- "description": "Defining this option makes the search box standalone (see [Use a\nStandalone Search Box](https://docs.coveo.com/en/atomic/latest/usage/ssb/)).\n\nThis option defines the default URL the user should be redirected to, when a query is submitted.\nIf a query pipeline redirect is triggered, it will redirect to that URL instead\n(see [query pipeline triggers](https://docs.coveo.com/en/1458)).",
6980
- "attribute": "redirection-url",
6981
- "reflects": true
6970
+ "default": "'icon'",
6971
+ "description": "The expected size of the image displayed in the products.",
6972
+ "fieldName": "imageSize"
6982
6973
  },
6983
6974
  {
6984
- "kind": "field",
6985
- "name": "suggestionTimeout",
6975
+ "name": "aria-label-generator",
6986
6976
  "type": {
6987
- "text": "number"
6977
+ "text": "AriaLabelGenerator"
6988
6978
  },
6989
- "privacy": "public",
6990
- "default": "400",
6991
- "description": "The timeout for suggestion queries, in milliseconds.\nIf a suggestion query times out, the suggestions from that particular query won't be shown.",
6992
- "attribute": "suggestion-timeout"
6993
- },
6979
+ "description": "The callback to generate an [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) for a given product so that accessibility tools can fully describe what's visually rendered by a product.\n\nBy default, or if an empty string is returned, `product.ec_name` is used.",
6980
+ "fieldName": "ariaLabelGenerator"
6981
+ }
6982
+ ],
6983
+ "superclass": {
6984
+ "name": "LitElement",
6985
+ "package": "lit"
6986
+ },
6987
+ "events": [],
6988
+ "tagName": "atomic-commerce-search-box-instant-products",
6989
+ "customElement": true
6990
+ }
6991
+ ],
6992
+ "exports": [
6993
+ {
6994
+ "kind": "js",
6995
+ "name": "AtomicCommerceSearchBoxInstantProducts",
6996
+ "declaration": {
6997
+ "name": "AtomicCommerceSearchBoxInstantProducts",
6998
+ "module": "src/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.ts"
6999
+ }
7000
+ },
7001
+ {
7002
+ "kind": "custom-element-definition",
7003
+ "name": "atomic-commerce-search-box-instant-products",
7004
+ "declaration": {
7005
+ "name": "AtomicCommerceSearchBoxInstantProducts",
7006
+ "module": "src/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.ts"
7007
+ }
7008
+ }
7009
+ ]
7010
+ },
7011
+ {
7012
+ "kind": "javascript-module",
7013
+ "path": "src/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.ts",
7014
+ "declarations": [
7015
+ {
7016
+ "kind": "class",
7017
+ "description": "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.",
7018
+ "name": "AtomicCommerceSearchBoxQuerySuggestions",
7019
+ "members": [
6994
7020
  {
6995
7021
  "kind": "field",
6996
- "name": "suggestionDelay",
7022
+ "name": "bindings",
6997
7023
  "type": {
6998
- "text": "number"
7024
+ "text": "SearchBoxSuggestionsBindings<SearchBox, CommerceBindings>"
6999
7025
  },
7000
- "privacy": "public",
7001
- "default": "0",
7002
- "description": "The delay for suggestion queries on input, in milliseconds.\n\nThe suggestion request will be delayed until the end user stops typing for at least the specified amount of time.\n\nThis delay is used to avoid sending too many requests to the Coveo Platform when the user is typing, as well as reducing potential input lag on low end devices.\nA higher delay will reduce input lag, at the cost of suggestions freshness.",
7003
- "attribute": "suggestion-delay"
7026
+ "privacy": "private"
7004
7027
  },
7005
7028
  {
7006
7029
  "kind": "field",
7007
- "name": "disableSearch",
7030
+ "name": "error",
7008
7031
  "type": {
7009
- "text": "boolean"
7032
+ "text": "Error"
7010
7033
  },
7011
- "privacy": "public",
7012
- "default": "false",
7013
- "description": "Whether to prevent the user from triggering searches and query suggestions from the component.\nPerfect for use cases where you need to disable the search conditionally.\nFor the specific case when you need to disable the search based on the length of the query, refer to minimumQueryLength.",
7014
- "attribute": "disable-search",
7015
- "reflects": true
7034
+ "privacy": "private"
7016
7035
  },
7017
7036
  {
7018
7037
  "kind": "field",
7019
- "name": "minimumQueryLength",
7038
+ "name": "icon",
7020
7039
  "type": {
7021
- "text": "number"
7040
+ "text": "string"
7022
7041
  },
7023
- "privacy": "public",
7024
- "default": "0",
7025
- "description": "The minimum query length required to enable search.\nFor example, to disable the search for empty queries, set this to `1`.",
7026
- "attribute": "minimum-query-length",
7027
- "reflects": true
7042
+ "description": "The SVG icon to display.\n\n- Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.\n- Use a value that starts with `assets://`, to display an icon from the Atomic package.\n- Use a stringified SVG to display it directly.",
7043
+ "attribute": "icon"
7028
7044
  },
7029
7045
  {
7030
7046
  "kind": "field",
7031
- "name": "clearFilters",
7047
+ "name": "maxWithQuery",
7032
7048
  "type": {
7033
- "text": "boolean"
7049
+ "text": "number"
7034
7050
  },
7035
7051
  "privacy": "public",
7036
- "default": "true",
7037
- "description": "Whether to clear all active query filters when the end user submits a new query from the search box.\nSetting this option to \"false\" is not recommended and can lead to an increasing number of queries returning no products.",
7038
- "attribute": "clear-filters",
7052
+ "default": "3",
7053
+ "description": "The maximum number of suggestions that will be displayed if the user has typed something into the input field.",
7054
+ "attribute": "max-with-query",
7039
7055
  "reflects": true
7040
7056
  },
7041
7057
  {
7042
7058
  "kind": "field",
7043
- "name": "clearRecentButtonPosition",
7059
+ "name": "maxWithoutQuery",
7044
7060
  "type": {
7045
- "text": "'top' | 'bottom'"
7061
+ "text": "number"
7046
7062
  },
7047
7063
  "privacy": "public",
7048
- "default": "'top'",
7049
- "description": "The position of the option to clear the recent queries.\n\n- `top`: The option is the first suggestion, next to the \"Recent searches\" title.\n- `bottom`: The option is a button below the suggestions, so the arrow keys only navigate through the suggestions and the button is reached with the Tab key.\n\nIn the next major version of Atomic (v4), `bottom` will become the default behavior. To adopt it ahead of time, set this property to `bottom`.",
7050
- "attribute": "clear-recent-button-position",
7064
+ "description": "The maximum number of suggestions that will be displayed initially when the input field is empty.",
7065
+ "attribute": "max-without-query",
7051
7066
  "reflects": true
7052
7067
  },
7053
7068
  {
7054
7069
  "kind": "method",
7055
7070
  "name": "initialize",
7056
- "privacy": "public"
7057
- },
7058
- {
7059
- "kind": "method",
7060
- "name": "initializeSearchboxController",
7061
- "privacy": "private"
7062
- },
7063
- {
7064
- "kind": "method",
7065
- "name": "initializeSuggestionManager",
7066
- "privacy": "private"
7067
- },
7068
- {
7069
- "kind": "method",
7070
- "name": "watchRedirectionUrl"
7071
+ "privacy": "public",
7072
+ "return": {
7073
+ "type": {
7074
+ "text": "SearchBoxSuggestions"
7075
+ }
7076
+ }
7071
7077
  },
7072
7078
  {
7073
7079
  "kind": "method",
7074
- "name": "isStandaloneSearchBox",
7080
+ "name": "renderItems",
7075
7081
  "privacy": "private",
7076
7082
  "return": {
7077
7083
  "type": {
7078
- "text": "searchBox is StandaloneSearchBox"
7084
+ "text": "SearchBoxSuggestionElement[]"
7079
7085
  }
7080
- },
7086
+ }
7087
+ },
7088
+ {
7089
+ "kind": "method",
7090
+ "name": "renderItem",
7091
+ "privacy": "private",
7081
7092
  "parameters": [
7082
7093
  {
7083
- "name": "searchBox",
7094
+ "name": "suggestion",
7084
7095
  "type": {
7085
- "text": "SearchBox | StandaloneSearchBox"
7096
+ "text": "Suggestion"
7086
7097
  }
7087
7098
  }
7088
7099
  ]
7089
- },
7100
+ }
7101
+ ],
7102
+ "attributes": [
7090
7103
  {
7091
- "kind": "field",
7092
- "name": "updateBreakpoints",
7093
- "privacy": "private"
7104
+ "name": "icon",
7105
+ "type": {
7106
+ "text": "string"
7107
+ },
7108
+ "description": "The SVG icon to display.\n\n- Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.\n- Use a value that starts with `assets://`, to display an icon from the Atomic package.\n- Use a stringified SVG to display it directly.",
7109
+ "fieldName": "icon"
7094
7110
  },
7095
7111
  {
7096
- "kind": "field",
7097
- "name": "isSearchDisabledForEndUser",
7098
- "privacy": "private",
7099
- "readonly": true
7112
+ "name": "max-with-query",
7113
+ "type": {
7114
+ "text": "number"
7115
+ },
7116
+ "default": "3",
7117
+ "description": "The maximum number of suggestions that will be displayed if the user has typed something into the input field.",
7118
+ "fieldName": "maxWithQuery"
7100
7119
  },
7101
7120
  {
7102
- "kind": "field",
7103
- "name": "textAreaLabel",
7104
- "privacy": "private",
7105
- "readonly": true
7106
- },
7121
+ "name": "max-without-query",
7122
+ "type": {
7123
+ "text": "number"
7124
+ },
7125
+ "description": "The maximum number of suggestions that will be displayed initially when the input field is empty.",
7126
+ "fieldName": "maxWithoutQuery"
7127
+ }
7128
+ ],
7129
+ "superclass": {
7130
+ "name": "LitElement",
7131
+ "package": "lit"
7132
+ },
7133
+ "events": [],
7134
+ "tagName": "atomic-commerce-search-box-query-suggestions",
7135
+ "customElement": true
7136
+ }
7137
+ ],
7138
+ "exports": [
7139
+ {
7140
+ "kind": "js",
7141
+ "name": "AtomicCommerceSearchBoxQuerySuggestions",
7142
+ "declaration": {
7143
+ "name": "AtomicCommerceSearchBoxQuerySuggestions",
7144
+ "module": "src/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.ts"
7145
+ }
7146
+ },
7147
+ {
7148
+ "kind": "custom-element-definition",
7149
+ "name": "atomic-commerce-search-box-query-suggestions",
7150
+ "declaration": {
7151
+ "name": "AtomicCommerceSearchBoxQuerySuggestions",
7152
+ "module": "src/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.ts"
7153
+ }
7154
+ }
7155
+ ]
7156
+ },
7157
+ {
7158
+ "kind": "javascript-module",
7159
+ "path": "src/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.ts",
7160
+ "declarations": [
7161
+ {
7162
+ "kind": "class",
7163
+ "description": "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.",
7164
+ "name": "AtomicCommerceSearchBoxRecentQueries",
7165
+ "members": [
7107
7166
  {
7108
7167
  "kind": "field",
7109
- "name": "suggestionBindings",
7168
+ "name": "bindings",
7110
7169
  "type": {
7111
- "text": "SearchBoxSuggestionsBindings<SearchBox | StandaloneSearchBox>"
7170
+ "text": "SearchBoxSuggestionsBindings<SearchBox, CommerceBindings>"
7112
7171
  },
7113
- "privacy": "private",
7114
- "readonly": true
7172
+ "privacy": "private"
7115
7173
  },
7116
7174
  {
7117
7175
  "kind": "field",
7118
- "name": "partialSuggestionBindings",
7176
+ "name": "recentQueriesList",
7119
7177
  "type": {
7120
- "text": "Pick<\n SearchBoxSuggestionsBindings<SearchBox | StandaloneSearchBox>,\n 'id' | 'isStandalone' | 'searchBoxController' | 'numberOfQueries' | 'clearFilters'\n >"
7178
+ "text": "RecentQueriesList"
7121
7179
  },
7122
- "privacy": "private",
7123
- "readonly": true
7180
+ "privacy": "private"
7124
7181
  },
7125
7182
  {
7126
7183
  "kind": "field",
7127
- "name": "searchBoxOptions",
7184
+ "name": "storage",
7128
7185
  "type": {
7129
- "text": "SearchBoxOptions"
7186
+ "text": "SafeStorage"
7130
7187
  },
7131
- "privacy": "private",
7132
- "readonly": true
7133
- },
7134
- {
7135
- "kind": "method",
7136
- "name": "registerNewSearchBoxController",
7137
7188
  "privacy": "private"
7138
7189
  },
7139
7190
  {
7140
- "kind": "method",
7141
- "name": "registerSearchboxSuggestionEvents",
7191
+ "kind": "field",
7192
+ "name": "error",
7193
+ "type": {
7194
+ "text": "Error"
7195
+ },
7142
7196
  "privacy": "private"
7143
7197
  },
7144
7198
  {
7145
- "kind": "method",
7146
- "name": "onInput",
7147
- "privacy": "private",
7148
- "parameters": [
7149
- {
7150
- "name": "value",
7151
- "type": {
7152
- "text": "string"
7153
- }
7154
- }
7155
- ]
7156
- },
7157
- {
7158
- "kind": "method",
7159
- "name": "onFocus",
7160
- "privacy": "private"
7199
+ "kind": "field",
7200
+ "name": "icon",
7201
+ "type": {
7202
+ "text": "string"
7203
+ },
7204
+ "privacy": "public",
7205
+ "description": "The SVG icon to display.\n\n- Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.\n- Use a value that starts with `assets://`, to display an icon from the Atomic package.\n- Use a stringified SVG to display it directly.",
7206
+ "attribute": "icon"
7161
7207
  },
7162
7208
  {
7163
- "kind": "method",
7164
- "name": "onSubmit",
7165
- "privacy": "private"
7209
+ "kind": "field",
7210
+ "name": "maxWithQuery",
7211
+ "type": {
7212
+ "text": "number"
7213
+ },
7214
+ "privacy": "public",
7215
+ "default": "3",
7216
+ "description": "The maximum number of suggestions to display when the user types in the input field.",
7217
+ "attribute": "max-with-query",
7218
+ "reflects": true
7166
7219
  },
7167
7220
  {
7168
- "kind": "method",
7169
- "name": "onKeyDown",
7170
- "privacy": "private",
7171
- "parameters": [
7172
- {
7173
- "name": "e",
7174
- "type": {
7175
- "text": "KeyboardEvent"
7176
- }
7177
- }
7178
- ]
7221
+ "kind": "field",
7222
+ "name": "maxWithoutQuery",
7223
+ "type": {
7224
+ "text": "number"
7225
+ },
7226
+ "privacy": "public",
7227
+ "description": "The maximum number of suggestions to display initially, when the input field is empty.",
7228
+ "attribute": "max-without-query",
7229
+ "reflects": true
7179
7230
  },
7180
7231
  {
7181
- "kind": "method",
7182
- "name": "triggerTextAreaChange",
7232
+ "kind": "field",
7233
+ "name": "searchBoxAriaMessage",
7183
7234
  "privacy": "private",
7184
- "parameters": [
7185
- {
7186
- "name": "value",
7187
- "type": {
7188
- "text": "string"
7189
- }
7190
- }
7191
- ]
7192
- },
7193
- {
7194
- "kind": "method",
7195
- "name": "announceNewActiveSuggestionToScreenReader",
7196
- "privacy": "private"
7197
- },
7198
- {
7199
- "kind": "method",
7200
- "name": "announceNewSuggestionsToScreenReader",
7201
- "privacy": "private"
7235
+ "default": "new AriaLiveRegionController(this, 'recent-search-cleared', true)"
7202
7236
  },
7203
7237
  {
7204
7238
  "kind": "method",
7205
- "name": "updateQueryWithoutQuerySuggestionTrigger",
7206
- "privacy": "private",
7207
- "parameters": [
7208
- {
7209
- "name": "query",
7210
- "type": {
7211
- "text": "string"
7212
- }
7239
+ "name": "initialize",
7240
+ "privacy": "public",
7241
+ "return": {
7242
+ "type": {
7243
+ "text": "SearchBoxSuggestions"
7213
7244
  }
7214
- ]
7245
+ }
7215
7246
  },
7216
7247
  {
7217
7248
  "kind": "method",
7218
- "name": "renderAbsolutePositionSpacer",
7249
+ "name": "retrieveLocalStorage",
7219
7250
  "privacy": "private"
7220
7251
  },
7221
7252
  {
7222
7253
  "kind": "method",
7223
- "name": "renderTextBox",
7254
+ "name": "updateLocalStorage",
7224
7255
  "privacy": "private"
7225
7256
  },
7226
7257
  {
7227
7258
  "kind": "field",
7228
- "name": "clearRecentQueriesElement",
7229
- "privacy": "private",
7230
- "readonly": true
7259
+ "name": "warnUser",
7260
+ "privacy": "private"
7231
7261
  },
7232
7262
  {
7233
7263
  "kind": "method",
7234
- "name": "renderRecentQueriesTitle",
7264
+ "name": "disableFeature",
7235
7265
  "privacy": "private"
7236
7266
  },
7237
7267
  {
7238
7268
  "kind": "method",
7239
- "name": "renderClearRecentQueriesButton",
7269
+ "name": "renderItems",
7240
7270
  "privacy": "private",
7241
- "parameters": [
7242
- {
7243
- "name": "element",
7244
- "type": {
7245
- "text": "SearchBoxSuggestionElement"
7246
- }
7271
+ "return": {
7272
+ "type": {
7273
+ "text": "SearchBoxSuggestionElement[]"
7247
7274
  }
7248
- ]
7249
- },
7250
- {
7251
- "kind": "method",
7252
- "name": "renderSuggestions",
7253
- "privacy": "private"
7275
+ }
7254
7276
  },
7255
7277
  {
7256
7278
  "kind": "method",
7257
- "name": "renderPanel",
7279
+ "name": "renderClear",
7258
7280
  "privacy": "private",
7259
- "parameters": [
7260
- {
7261
- "name": "side",
7262
- "type": {
7263
- "text": "'left' | 'right'"
7264
- }
7265
- },
7266
- {
7267
- "name": "elements",
7268
- "type": {
7269
- "text": "SearchBoxSuggestionElement[]"
7270
- }
7271
- },
7272
- {
7273
- "name": "setRef",
7274
- "type": {
7275
- "text": "(el: HTMLElement | undefined) => void"
7276
- }
7277
- },
7278
- {
7279
- "name": "getRef",
7280
- "type": {
7281
- "text": "() => HTMLElement | undefined"
7282
- }
7281
+ "return": {
7282
+ "type": {
7283
+ "text": "SearchBoxSuggestionElement"
7283
7284
  }
7284
- ]
7285
+ }
7285
7286
  },
7286
7287
  {
7287
7288
  "kind": "method",
7288
- "name": "renderSuggestion",
7289
+ "name": "renderItem",
7289
7290
  "privacy": "private",
7291
+ "return": {
7292
+ "type": {
7293
+ "text": "SearchBoxSuggestionElement"
7294
+ }
7295
+ },
7290
7296
  "parameters": [
7291
7297
  {
7292
- "name": "item",
7293
- "type": {
7294
- "text": "SearchBoxSuggestionElement"
7295
- }
7296
- },
7297
- {
7298
- "name": "index",
7299
- "type": {
7300
- "text": "number"
7301
- }
7302
- },
7303
- {
7304
- "name": "lastIndex",
7305
- "type": {
7306
- "text": "number"
7307
- }
7308
- },
7309
- {
7310
- "name": "side",
7298
+ "name": "value",
7311
7299
  "type": {
7312
- "text": "'left' | 'right'"
7300
+ "text": "string"
7313
7301
  }
7314
7302
  }
7315
7303
  ]
7316
- },
7317
- {
7318
- "kind": "method",
7319
- "name": "renderSlotContent",
7320
- "privacy": "private"
7321
- },
7322
- {
7323
- "kind": "method",
7324
- "name": "announceClearSearchBoxToScreenReader",
7325
- "privacy": "private"
7326
- }
7327
- ],
7328
- "events": [
7329
- {
7330
- "description": "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.",
7331
- "name": "redirect"
7332
7304
  }
7333
7305
  ],
7334
7306
  "attributes": [
7335
7307
  {
7336
- "name": "number-of-queries",
7337
- "type": {
7338
- "text": "number"
7339
- },
7340
- "default": "8",
7341
- "description": "The amount of queries displayed when the user interacts with the search box.\nBy default, a mix of query suggestions and recent queries will be shown.\nYou can configure those settings using the following components as children:\n - atomic-commerce-search-box-query-suggestions\n - atomic-commerce-search-box-recent-queries",
7342
- "fieldName": "numberOfQueries"
7343
- },
7344
- {
7345
- "name": "redirection-url",
7308
+ "name": "icon",
7346
7309
  "type": {
7347
7310
  "text": "string"
7348
7311
  },
7349
- "description": "Defining this option makes the search box standalone (see [Use a\nStandalone Search Box](https://docs.coveo.com/en/atomic/latest/usage/ssb/)).\n\nThis option defines the default URL the user should be redirected to, when a query is submitted.\nIf a query pipeline redirect is triggered, it will redirect to that URL instead\n(see [query pipeline triggers](https://docs.coveo.com/en/1458)).",
7350
- "fieldName": "redirectionUrl"
7351
- },
7352
- {
7353
- "name": "suggestion-timeout",
7354
- "type": {
7355
- "text": "number"
7356
- },
7357
- "default": "400",
7358
- "description": "The timeout for suggestion queries, in milliseconds.\nIf a suggestion query times out, the suggestions from that particular query won't be shown.",
7359
- "fieldName": "suggestionTimeout"
7312
+ "description": "The SVG icon to display.\n\n- Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.\n- Use a value that starts with `assets://`, to display an icon from the Atomic package.\n- Use a stringified SVG to display it directly.",
7313
+ "fieldName": "icon"
7360
7314
  },
7361
7315
  {
7362
- "name": "suggestion-delay",
7316
+ "name": "max-with-query",
7363
7317
  "type": {
7364
7318
  "text": "number"
7365
7319
  },
7366
- "default": "0",
7367
- "description": "The delay for suggestion queries on input, in milliseconds.\n\nThe suggestion request will be delayed until the end user stops typing for at least the specified amount of time.\n\nThis delay is used to avoid sending too many requests to the Coveo Platform when the user is typing, as well as reducing potential input lag on low end devices.\nA higher delay will reduce input lag, at the cost of suggestions freshness.",
7368
- "fieldName": "suggestionDelay"
7369
- },
7370
- {
7371
- "name": "disable-search",
7372
- "type": {
7373
- "text": "boolean"
7374
- },
7375
- "default": "false",
7376
- "description": "Whether to prevent the user from triggering searches and query suggestions from the component.\nPerfect for use cases where you need to disable the search conditionally.\nFor the specific case when you need to disable the search based on the length of the query, refer to minimumQueryLength.",
7377
- "fieldName": "disableSearch"
7320
+ "default": "3",
7321
+ "description": "The maximum number of suggestions to display when the user types in the input field.",
7322
+ "fieldName": "maxWithQuery"
7378
7323
  },
7379
7324
  {
7380
- "name": "minimum-query-length",
7325
+ "name": "max-without-query",
7381
7326
  "type": {
7382
7327
  "text": "number"
7383
7328
  },
7384
- "default": "0",
7385
- "description": "The minimum query length required to enable search.\nFor example, to disable the search for empty queries, set this to `1`.",
7386
- "fieldName": "minimumQueryLength"
7387
- },
7388
- {
7389
- "name": "clear-filters",
7390
- "type": {
7391
- "text": "boolean"
7392
- },
7393
- "default": "true",
7394
- "description": "Whether to clear all active query filters when the end user submits a new query from the search box.\nSetting this option to \"false\" is not recommended and can lead to an increasing number of queries returning no products.",
7395
- "fieldName": "clearFilters"
7396
- },
7397
- {
7398
- "name": "clear-recent-button-position",
7399
- "type": {
7400
- "text": "'top' | 'bottom'"
7401
- },
7402
- "default": "'top'",
7403
- "description": "The position of the option to clear the recent queries.\n\n- `top`: The option is the first suggestion, next to the \"Recent searches\" title.\n- `bottom`: The option is a button below the suggestions, so the arrow keys only navigate through the suggestions and the button is reached with the Tab key.\n\nIn the next major version of Atomic (v4), `bottom` will become the default behavior. To adopt it ahead of time, set this property to `bottom`.",
7404
- "fieldName": "clearRecentButtonPosition"
7329
+ "description": "The maximum number of suggestions to display initially, when the input field is empty.",
7330
+ "fieldName": "maxWithoutQuery"
7405
7331
  }
7406
7332
  ],
7407
7333
  "superclass": {
7408
7334
  "name": "LitElement",
7409
7335
  "package": "lit"
7410
7336
  },
7411
- "tagName": "atomic-commerce-search-box",
7337
+ "events": [],
7338
+ "tagName": "atomic-commerce-search-box-recent-queries",
7412
7339
  "customElement": true
7413
7340
  }
7414
7341
  ],
7415
7342
  "exports": [
7416
7343
  {
7417
7344
  "kind": "js",
7418
- "name": "AtomicCommerceSearchBox",
7345
+ "name": "AtomicCommerceSearchBoxRecentQueries",
7419
7346
  "declaration": {
7420
- "name": "AtomicCommerceSearchBox",
7421
- "module": "src/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.ts"
7347
+ "name": "AtomicCommerceSearchBoxRecentQueries",
7348
+ "module": "src/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.ts"
7422
7349
  }
7423
7350
  },
7424
7351
  {
7425
7352
  "kind": "custom-element-definition",
7426
- "name": "atomic-commerce-search-box",
7353
+ "name": "atomic-commerce-search-box-recent-queries",
7427
7354
  "declaration": {
7428
- "name": "AtomicCommerceSearchBox",
7429
- "module": "src/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.ts"
7355
+ "name": "AtomicCommerceSearchBoxRecentQueries",
7356
+ "module": "src/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.ts"
7430
7357
  }
7431
7358
  }
7432
7359
  ]
7433
7360
  },
7434
7361
  {
7435
7362
  "kind": "javascript-module",
7436
- "path": "src/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.ts",
7363
+ "path": "src/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.ts",
7437
7364
  "declarations": [
7438
7365
  {
7439
7366
  "kind": "class",
7440
- "description": "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.\n\nThis component is not supported on mobile.",
7441
- "name": "AtomicCommerceSearchBoxInstantProducts",
7367
+ "description": "The `atomic-commerce-search-box` component enables users to perform product searches with built-in query suggestions and optional redirection to a search page.",
7368
+ "name": "AtomicCommerceSearchBox",
7442
7369
  "cssParts": [
7443
7370
  {
7444
- "description": "The 'See all products' button.",
7445
- "name": "instant-results-show-all-button"
7371
+ "description": "The search box wrapper.",
7372
+ "name": "wrapper"
7446
7373
  },
7447
7374
  {
7448
- "description": "The individual instant product item.",
7375
+ "description": "The search box input.",
7376
+ "name": "input"
7377
+ },
7378
+ {
7379
+ "description": "The search box loading animation.",
7380
+ "name": "loading"
7381
+ },
7382
+ {
7383
+ "description": "The button to clear the search box of input.",
7384
+ "name": "clear-button"
7385
+ },
7386
+ {
7387
+ "description": "The clear button's icon.",
7388
+ "name": "clear-icon"
7389
+ },
7390
+ {
7391
+ "description": "The search box submit button.",
7392
+ "name": "submit-button"
7393
+ },
7394
+ {
7395
+ "description": "The search box submit button's icon.",
7396
+ "name": "submit-icon"
7397
+ },
7398
+ {
7399
+ "description": "A list of suggested query corrections on each panel.",
7400
+ "name": "suggestions"
7401
+ },
7402
+ {
7403
+ "description": "A list of suggested query corrections on the left panel.",
7404
+ "name": "suggestions-left"
7405
+ },
7406
+ {
7407
+ "description": "A list of suggested query corrections on the right panel.",
7408
+ "name": "suggestions-right"
7409
+ },
7410
+ {
7411
+ "description": "The wrapper that contains suggestion panels.",
7412
+ "name": "suggestions-wrapper"
7413
+ },
7414
+ {
7415
+ "description": "The wrapper that contains 1 suggestion list.",
7416
+ "name": "suggestions-single-list"
7417
+ },
7418
+ {
7419
+ "description": "The wrapper that contains 2 suggestion lists.",
7420
+ "name": "suggestions-double-list"
7421
+ },
7422
+ {
7423
+ "description": "A suggested query correction.",
7424
+ "name": "suggestion"
7425
+ },
7426
+ {
7427
+ "description": "The currently active suggestion.",
7428
+ "name": "active-suggestion"
7429
+ },
7430
+ {
7431
+ "description": "An item in the list that separates groups of suggestions.",
7432
+ "name": "suggestion-divider"
7433
+ },
7434
+ {
7435
+ "description": "An item in the list that will update the search box query.",
7436
+ "name": "suggestion-with-query"
7437
+ },
7438
+ {
7439
+ "description": "A suggestion from the `atomic-commerce-search-box-query-suggestions` component.",
7440
+ "name": "query-suggestion-item"
7441
+ },
7442
+ {
7443
+ "description": "The contents of a suggestion from the `atomic-commerce-search-box-query-suggestions` component.",
7444
+ "name": "query-suggestion-content"
7445
+ },
7446
+ {
7447
+ "description": "The icon of a suggestion from the `atomic-commerce-search-box-query-suggestions` component.",
7448
+ "name": "query-suggestion-icon"
7449
+ },
7450
+ {
7451
+ "description": "The text of a suggestion from the `atomic-commerce-search-box-query-suggestions` component.",
7452
+ "name": "query-suggestion-text"
7453
+ },
7454
+ {
7455
+ "description": "A suggestion from the `atomic-commerce-search-box-recent-queries` component.",
7456
+ "name": "recent-query-item"
7457
+ },
7458
+ {
7459
+ "description": "The contents of a suggestion from the `atomic-commerce-search-box-recent-queries` component.",
7460
+ "name": "recent-query-content"
7461
+ },
7462
+ {
7463
+ "description": "The icon of a suggestion from the `atomic-commerce-search-box-recent-queries` component.",
7464
+ "name": "recent-query-icon"
7465
+ },
7466
+ {
7467
+ "description": "The text of a suggestion from the `atomic-commerce-search-box-recent-queries` component.",
7468
+ "name": "recent-query-text"
7469
+ },
7470
+ {
7471
+ "description": "The highlighted portion of the text of a suggestion from the `atomic-commerce-search-box-recent-queries` component.",
7472
+ "name": "recent-query-text-highlight"
7473
+ },
7474
+ {
7475
+ "description": "The clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
7476
+ "name": "recent-query-title-item"
7477
+ },
7478
+ {
7479
+ "description": "The contents of the clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
7480
+ "name": "recent-query-title-content"
7481
+ },
7482
+ {
7483
+ "description": "The \"recent searches\" title above the recent queries from the `atomic-commerce-search-box-recent-queries` component.",
7484
+ "name": "recent-query-title"
7485
+ },
7486
+ {
7487
+ "description": "The \"clear\" text of the clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
7488
+ "name": "recent-query-clear"
7489
+ },
7490
+ {
7491
+ "description": "The button below suggestions to clear the recent queries from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `bottom`.",
7492
+ "name": "recent-query-clear-button"
7493
+ },
7494
+ {
7495
+ "description": "An instant product rendered by an `atomic-commerce-search-box-instant-products` component.",
7449
7496
  "name": "instant-results-item"
7497
+ },
7498
+ {
7499
+ "description": "The clickable suggestion to show all items for the current instant product search rendered by an `atomic-commerce-search-box-instant-products` component.",
7500
+ "name": "instant-results-show-all"
7501
+ },
7502
+ {
7503
+ "description": "The button inside the clickable suggestion from the `atomic-commerce-search-box-instant-products` component.",
7504
+ "name": "instant-results-show-all-button"
7450
7505
  }
7451
7506
  ],
7452
7507
  "slots": [
7453
7508
  {
7454
- "description": "The default slot where the instant products are rendered.",
7509
+ "description": "The default slot where you can add child components to the search box.",
7455
7510
  "name": "default"
7456
7511
  }
7457
7512
  ],
7458
7513
  "members": [
7459
7514
  {
7460
7515
  "kind": "field",
7461
- "name": "bindings",
7462
- "type": {
7463
- "text": "SearchBoxSuggestionsBindings<SearchBox, CommerceBindings>"
7464
- },
7465
- "privacy": "private"
7516
+ "name": "propsSchema",
7517
+ "privacy": "private",
7518
+ "static": true,
7519
+ "readonly": true,
7520
+ "default": "new Schema({ clearRecentButtonPosition: new StringValue({constrainTo: ['top', 'bottom']}), })"
7466
7521
  },
7467
7522
  {
7468
7523
  "kind": "field",
7469
- "name": "itemRenderingFunction",
7524
+ "name": "shadowRootOptions",
7470
7525
  "type": {
7471
- "text": "ItemRenderingFunction"
7526
+ "text": "object"
7472
7527
  },
7473
- "privacy": "private"
7528
+ "static": true,
7529
+ "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
7474
7530
  },
7475
7531
  {
7476
7532
  "kind": "field",
7477
- "name": "products",
7533
+ "name": "bindings",
7478
7534
  "type": {
7479
- "text": "Product[]"
7535
+ "text": "CommerceBindings"
7480
7536
  },
7481
- "privacy": "private",
7482
- "default": "[]"
7537
+ "privacy": "private"
7483
7538
  },
7484
7539
  {
7485
7540
  "kind": "field",
7486
- "name": "itemTemplateProvider",
7541
+ "name": "error",
7487
7542
  "type": {
7488
- "text": "ProductTemplateProvider"
7543
+ "text": "Error"
7489
7544
  },
7490
7545
  "privacy": "private"
7491
7546
  },
7492
7547
  {
7493
7548
  "kind": "field",
7494
- "name": "instantProducts",
7549
+ "name": "isExpanded",
7495
7550
  "type": {
7496
- "text": "InstantProducts"
7551
+ "text": "boolean"
7497
7552
  },
7498
- "privacy": "private"
7553
+ "default": "false"
7499
7554
  },
7500
7555
  {
7501
7556
  "kind": "field",
7502
- "name": "display",
7557
+ "name": "searchBoxState",
7503
7558
  "type": {
7504
- "text": "ItemDisplayLayout"
7559
+ "text": "SearchBoxState | StandaloneSearchBoxState"
7505
7560
  },
7506
- "privacy": "private",
7507
- "default": "'list'"
7561
+ "privacy": "private"
7508
7562
  },
7509
7563
  {
7510
7564
  "kind": "field",
7511
- "name": "error",
7512
- "type": {
7513
- "text": "Error"
7514
- },
7565
+ "name": "textAreaRef",
7515
7566
  "privacy": "private"
7516
7567
  },
7517
7568
  {
7518
7569
  "kind": "field",
7519
- "name": "templateHasError",
7520
- "type": {
7521
- "text": "boolean"
7522
- },
7523
- "privacy": "private",
7524
- "default": "false"
7570
+ "name": "setLeftPanel",
7571
+ "privacy": "private"
7525
7572
  },
7526
7573
  {
7527
- "kind": "method",
7528
- "name": "setRenderFunction",
7529
- "privacy": "public",
7530
- "parameters": [
7531
- {
7532
- "name": "resultRenderingFunction",
7533
- "type": {
7534
- "text": "ItemRenderingFunction"
7535
- }
7536
- }
7537
- ],
7538
- "description": "Sets a rendering function to bypass the standard HTML template mechanism for rendering products.\nYou can use this function while working with web frameworks that don't use plain HTML syntax such as React, Angular, or Vue.\n\nDo not use this method if you integrate Atomic in a plain HTML deployment."
7574
+ "kind": "field",
7575
+ "name": "setRightPanel",
7576
+ "privacy": "private"
7539
7577
  },
7540
7578
  {
7541
7579
  "kind": "field",
7542
- "name": "density",
7580
+ "name": "searchBoxSuggestionEventsQueue",
7543
7581
  "type": {
7544
- "text": "ItemDisplayDensity"
7582
+ "text": "CustomEvent<\n SearchBoxSuggestionsEvent<SearchBox | StandaloneSearchBox>\n >[]"
7545
7583
  },
7546
- "privacy": "public",
7547
- "default": "'normal'",
7548
- "description": "The spacing of various elements in the product list, including the gap between products, the gap between parts of a product, and the font sizes of different parts in a product.",
7549
- "attribute": "density",
7550
- "reflects": true
7584
+ "privacy": "private",
7585
+ "default": "[]"
7551
7586
  },
7552
7587
  {
7553
7588
  "kind": "field",
7554
- "name": "imageSize",
7589
+ "name": "suggestionManager",
7555
7590
  "type": {
7556
- "text": "ItemDisplayImageSize"
7591
+ "text": "SuggestionManager<SearchBox | StandaloneSearchBox>"
7557
7592
  },
7558
- "privacy": "public",
7559
- "default": "'icon'",
7560
- "description": "The expected size of the image displayed in the products.",
7561
- "attribute": "image-size",
7562
- "reflects": true
7593
+ "privacy": "private"
7563
7594
  },
7564
7595
  {
7565
7596
  "kind": "field",
7566
- "name": "ariaLabelGenerator",
7597
+ "name": "searchBox",
7567
7598
  "type": {
7568
- "text": "AriaLabelGenerator"
7569
- },
7570
- "privacy": "public",
7571
- "description": "The callback to generate an [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) for a given product so that accessibility tools can fully describe what's visually rendered by a product.\n\nBy default, or if an empty string is returned, `product.ec_name` is used.",
7572
- "attribute": "aria-label-generator"
7573
- },
7574
- {
7575
- "kind": "method",
7576
- "name": "getLink",
7577
- "privacy": "private",
7578
- "return": {
7579
- "type": {
7580
- "text": "HTMLElement | null"
7581
- }
7599
+ "text": "SearchBox | StandaloneSearchBox"
7582
7600
  },
7583
- "parameters": [
7584
- {
7585
- "name": "el",
7586
- "type": {
7587
- "text": "HTMLElement"
7588
- }
7589
- }
7590
- ]
7591
- },
7592
- {
7593
- "kind": "method",
7594
- "name": "handleLinkClick",
7595
- "privacy": "private",
7596
- "parameters": [
7597
- {
7598
- "name": "el",
7599
- "type": {
7600
- "text": "HTMLElement"
7601
- }
7602
- },
7603
- {
7604
- "name": "hasModifier",
7605
- "type": {
7606
- "text": "boolean"
7607
- }
7608
- }
7609
- ]
7610
- },
7611
- {
7612
- "kind": "method",
7613
- "name": "renderItems",
7614
- "privacy": "private",
7615
- "return": {
7616
- "type": {
7617
- "text": "SearchBoxSuggestionElement[]"
7618
- }
7619
- }
7620
- },
7621
- {
7622
- "kind": "method",
7623
- "name": "initialize",
7624
- "privacy": "public",
7625
- "return": {
7626
- "type": {
7627
- "text": "SearchBoxSuggestions"
7628
- }
7629
- }
7630
- },
7631
- {
7632
- "kind": "method",
7633
- "name": "onSuggestedQueryChange",
7634
7601
  "privacy": "private"
7635
- }
7636
- ],
7637
- "attributes": [
7638
- {
7639
- "name": "density",
7640
- "type": {
7641
- "text": "ItemDisplayDensity"
7642
- },
7643
- "default": "'normal'",
7644
- "description": "The spacing of various elements in the product list, including the gap between products, the gap between parts of a product, and the font sizes of different parts in a product.",
7645
- "fieldName": "density"
7646
7602
  },
7647
7603
  {
7648
- "name": "image-size",
7649
- "type": {
7650
- "text": "ItemDisplayImageSize"
7651
- },
7652
- "default": "'icon'",
7653
- "description": "The expected size of the image displayed in the products.",
7654
- "fieldName": "imageSize"
7604
+ "kind": "field",
7605
+ "name": "searchBoxAriaMessage",
7606
+ "privacy": "protected",
7607
+ "default": "new AriaLiveRegionController(this, 'search-box')"
7655
7608
  },
7656
- {
7657
- "name": "aria-label-generator",
7658
- "type": {
7659
- "text": "AriaLabelGenerator"
7660
- },
7661
- "description": "The callback to generate an [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) for a given product so that accessibility tools can fully describe what's visually rendered by a product.\n\nBy default, or if an empty string is returned, `product.ec_name` is used.",
7662
- "fieldName": "ariaLabelGenerator"
7663
- }
7664
- ],
7665
- "superclass": {
7666
- "name": "LitElement",
7667
- "package": "lit"
7668
- },
7669
- "events": [],
7670
- "tagName": "atomic-commerce-search-box-instant-products",
7671
- "customElement": true
7672
- }
7673
- ],
7674
- "exports": [
7675
- {
7676
- "kind": "js",
7677
- "name": "AtomicCommerceSearchBoxInstantProducts",
7678
- "declaration": {
7679
- "name": "AtomicCommerceSearchBoxInstantProducts",
7680
- "module": "src/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.ts"
7681
- }
7682
- },
7683
- {
7684
- "kind": "custom-element-definition",
7685
- "name": "atomic-commerce-search-box-instant-products",
7686
- "declaration": {
7687
- "name": "AtomicCommerceSearchBoxInstantProducts",
7688
- "module": "src/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.ts"
7689
- }
7690
- }
7691
- ]
7692
- },
7693
- {
7694
- "kind": "javascript-module",
7695
- "path": "src/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.ts",
7696
- "declarations": [
7697
- {
7698
- "kind": "class",
7699
- "description": "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.",
7700
- "name": "AtomicCommerceSearchBoxQuerySuggestions",
7701
- "members": [
7702
7609
  {
7703
7610
  "kind": "field",
7704
- "name": "bindings",
7705
- "type": {
7706
- "text": "SearchBoxSuggestionsBindings<SearchBox, CommerceBindings>"
7707
- },
7708
- "privacy": "private"
7611
+ "name": "suggestionsAriaMessage",
7612
+ "privacy": "protected",
7613
+ "default": "new AriaLiveRegionController(this, 'search-suggestions', true)"
7709
7614
  },
7710
7615
  {
7711
7616
  "kind": "field",
7712
- "name": "error",
7617
+ "name": "numberOfQueries",
7713
7618
  "type": {
7714
- "text": "Error"
7619
+ "text": "number"
7715
7620
  },
7716
- "privacy": "private"
7621
+ "default": "8",
7622
+ "description": "The amount of queries displayed when the user interacts with the search box.\nBy default, a mix of query suggestions and recent queries will be shown.\nYou can configure those settings using the following components as children:\n - atomic-commerce-search-box-query-suggestions\n - atomic-commerce-search-box-recent-queries",
7623
+ "attribute": "number-of-queries",
7624
+ "reflects": true
7717
7625
  },
7718
7626
  {
7719
7627
  "kind": "field",
7720
- "name": "icon",
7628
+ "name": "redirectionUrl",
7721
7629
  "type": {
7722
7630
  "text": "string"
7723
7631
  },
7724
- "description": "The SVG icon to display.\n\n- Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.\n- Use a value that starts with `assets://`, to display an icon from the Atomic package.\n- Use a stringified SVG to display it directly.",
7725
- "attribute": "icon"
7632
+ "privacy": "public",
7633
+ "description": "Defining this option makes the search box standalone (see [Use a\nStandalone Search Box](https://docs.coveo.com/en/atomic/latest/usage/ssb/)).\n\nThis option defines the default URL the user should be redirected to, when a query is submitted.\nIf a query pipeline redirect is triggered, it will redirect to that URL instead\n(see [query pipeline triggers](https://docs.coveo.com/en/1458)).",
7634
+ "attribute": "redirection-url",
7635
+ "reflects": true
7726
7636
  },
7727
7637
  {
7728
7638
  "kind": "field",
7729
- "name": "maxWithQuery",
7639
+ "name": "suggestionTimeout",
7730
7640
  "type": {
7731
7641
  "text": "number"
7732
7642
  },
7733
7643
  "privacy": "public",
7734
- "default": "3",
7735
- "description": "The maximum number of suggestions that will be displayed if the user has typed something into the input field.",
7736
- "attribute": "max-with-query",
7737
- "reflects": true
7644
+ "default": "400",
7645
+ "description": "The timeout for suggestion queries, in milliseconds.\nIf a suggestion query times out, the suggestions from that particular query won't be shown.",
7646
+ "attribute": "suggestion-timeout"
7738
7647
  },
7739
7648
  {
7740
7649
  "kind": "field",
7741
- "name": "maxWithoutQuery",
7650
+ "name": "suggestionDelay",
7742
7651
  "type": {
7743
7652
  "text": "number"
7744
7653
  },
7745
7654
  "privacy": "public",
7746
- "description": "The maximum number of suggestions that will be displayed initially when the input field is empty.",
7747
- "attribute": "max-without-query",
7748
- "reflects": true
7749
- },
7750
- {
7751
- "kind": "method",
7752
- "name": "initialize",
7753
- "privacy": "public",
7754
- "return": {
7755
- "type": {
7756
- "text": "SearchBoxSuggestions"
7757
- }
7758
- }
7759
- },
7760
- {
7761
- "kind": "method",
7762
- "name": "renderItems",
7763
- "privacy": "private",
7764
- "return": {
7765
- "type": {
7766
- "text": "SearchBoxSuggestionElement[]"
7767
- }
7768
- }
7655
+ "default": "0",
7656
+ "description": "The delay for suggestion queries on input, in milliseconds.\n\nThe suggestion request will be delayed until the end user stops typing for at least the specified amount of time.\n\nThis delay is used to avoid sending too many requests to the Coveo Platform when the user is typing, as well as reducing potential input lag on low end devices.\nA higher delay will reduce input lag, at the cost of suggestions freshness.",
7657
+ "attribute": "suggestion-delay"
7769
7658
  },
7770
7659
  {
7771
- "kind": "method",
7772
- "name": "renderItem",
7773
- "privacy": "private",
7774
- "parameters": [
7775
- {
7776
- "name": "suggestion",
7777
- "type": {
7778
- "text": "Suggestion"
7779
- }
7780
- }
7781
- ]
7782
- }
7783
- ],
7784
- "attributes": [
7785
- {
7786
- "name": "icon",
7660
+ "kind": "field",
7661
+ "name": "disableSearch",
7787
7662
  "type": {
7788
- "text": "string"
7663
+ "text": "boolean"
7789
7664
  },
7790
- "description": "The SVG icon to display.\n\n- Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.\n- Use a value that starts with `assets://`, to display an icon from the Atomic package.\n- Use a stringified SVG to display it directly.",
7791
- "fieldName": "icon"
7665
+ "privacy": "public",
7666
+ "default": "false",
7667
+ "description": "Whether to prevent the user from triggering searches and query suggestions from the component.\nPerfect for use cases where you need to disable the search conditionally.\nFor the specific case when you need to disable the search based on the length of the query, refer to minimumQueryLength.",
7668
+ "attribute": "disable-search",
7669
+ "reflects": true
7792
7670
  },
7793
7671
  {
7794
- "name": "max-with-query",
7672
+ "kind": "field",
7673
+ "name": "minimumQueryLength",
7795
7674
  "type": {
7796
7675
  "text": "number"
7797
7676
  },
7798
- "default": "3",
7799
- "description": "The maximum number of suggestions that will be displayed if the user has typed something into the input field.",
7800
- "fieldName": "maxWithQuery"
7677
+ "privacy": "public",
7678
+ "default": "0",
7679
+ "description": "The minimum query length required to enable search.\nFor example, to disable the search for empty queries, set this to `1`.",
7680
+ "attribute": "minimum-query-length",
7681
+ "reflects": true
7801
7682
  },
7802
7683
  {
7803
- "name": "max-without-query",
7684
+ "kind": "field",
7685
+ "name": "clearFilters",
7804
7686
  "type": {
7805
- "text": "number"
7687
+ "text": "boolean"
7806
7688
  },
7807
- "description": "The maximum number of suggestions that will be displayed initially when the input field is empty.",
7808
- "fieldName": "maxWithoutQuery"
7809
- }
7810
- ],
7811
- "superclass": {
7812
- "name": "LitElement",
7813
- "package": "lit"
7814
- },
7815
- "events": [],
7816
- "tagName": "atomic-commerce-search-box-query-suggestions",
7817
- "customElement": true
7818
- }
7819
- ],
7820
- "exports": [
7821
- {
7822
- "kind": "js",
7823
- "name": "AtomicCommerceSearchBoxQuerySuggestions",
7824
- "declaration": {
7825
- "name": "AtomicCommerceSearchBoxQuerySuggestions",
7826
- "module": "src/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.ts"
7827
- }
7828
- },
7829
- {
7830
- "kind": "custom-element-definition",
7831
- "name": "atomic-commerce-search-box-query-suggestions",
7832
- "declaration": {
7833
- "name": "AtomicCommerceSearchBoxQuerySuggestions",
7834
- "module": "src/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.ts"
7835
- }
7836
- }
7837
- ]
7838
- },
7839
- {
7840
- "kind": "javascript-module",
7841
- "path": "src/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.ts",
7842
- "declarations": [
7843
- {
7844
- "kind": "class",
7845
- "description": "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.",
7846
- "name": "AtomicCommerceSearchBoxRecentQueries",
7847
- "members": [
7689
+ "privacy": "public",
7690
+ "default": "true",
7691
+ "description": "Whether to clear all active query filters when the end user submits a new query from the search box.\nSetting this option to \"false\" is not recommended and can lead to an increasing number of queries returning no products.",
7692
+ "attribute": "clear-filters",
7693
+ "reflects": true
7694
+ },
7848
7695
  {
7849
7696
  "kind": "field",
7850
- "name": "bindings",
7697
+ "name": "clearRecentButtonPosition",
7851
7698
  "type": {
7852
- "text": "SearchBoxSuggestionsBindings<SearchBox, CommerceBindings>"
7699
+ "text": "'top' | 'bottom'"
7853
7700
  },
7701
+ "privacy": "public",
7702
+ "default": "'top'",
7703
+ "description": "The position of the option to clear the recent queries.\n\n- `top`: The option is the first suggestion, next to the \"Recent searches\" title.\n- `bottom`: The option is a button below the suggestions, so the arrow keys only navigate through the suggestions and the button is reached with the Tab key.\n\nIn the next major version of Atomic (v4), `bottom` will become the default behavior. To adopt it ahead of time, set this property to `bottom`.",
7704
+ "attribute": "clear-recent-button-position",
7705
+ "reflects": true
7706
+ },
7707
+ {
7708
+ "kind": "method",
7709
+ "name": "initialize",
7710
+ "privacy": "public"
7711
+ },
7712
+ {
7713
+ "kind": "method",
7714
+ "name": "initializeSearchboxController",
7854
7715
  "privacy": "private"
7855
7716
  },
7856
7717
  {
7857
- "kind": "field",
7858
- "name": "recentQueriesList",
7859
- "type": {
7860
- "text": "RecentQueriesList"
7861
- },
7718
+ "kind": "method",
7719
+ "name": "initializeSuggestionManager",
7862
7720
  "privacy": "private"
7863
7721
  },
7864
7722
  {
7865
- "kind": "field",
7866
- "name": "storage",
7867
- "type": {
7868
- "text": "SafeStorage"
7723
+ "kind": "method",
7724
+ "name": "watchRedirectionUrl"
7725
+ },
7726
+ {
7727
+ "kind": "method",
7728
+ "name": "isStandaloneSearchBox",
7729
+ "privacy": "private",
7730
+ "return": {
7731
+ "type": {
7732
+ "text": "searchBox is StandaloneSearchBox"
7733
+ }
7869
7734
  },
7870
- "privacy": "private"
7735
+ "parameters": [
7736
+ {
7737
+ "name": "searchBox",
7738
+ "type": {
7739
+ "text": "SearchBox | StandaloneSearchBox"
7740
+ }
7741
+ }
7742
+ ]
7871
7743
  },
7872
7744
  {
7873
7745
  "kind": "field",
7874
- "name": "error",
7875
- "type": {
7876
- "text": "Error"
7877
- },
7746
+ "name": "updateBreakpoints",
7878
7747
  "privacy": "private"
7879
7748
  },
7880
7749
  {
7881
7750
  "kind": "field",
7882
- "name": "icon",
7883
- "type": {
7884
- "text": "string"
7885
- },
7886
- "privacy": "public",
7887
- "description": "The SVG icon to display.\n\n- Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.\n- Use a value that starts with `assets://`, to display an icon from the Atomic package.\n- Use a stringified SVG to display it directly.",
7888
- "attribute": "icon"
7751
+ "name": "isSearchDisabledForEndUser",
7752
+ "privacy": "private",
7753
+ "readonly": true
7889
7754
  },
7890
7755
  {
7891
7756
  "kind": "field",
7892
- "name": "maxWithQuery",
7757
+ "name": "textAreaLabel",
7758
+ "privacy": "private",
7759
+ "readonly": true
7760
+ },
7761
+ {
7762
+ "kind": "field",
7763
+ "name": "suggestionBindings",
7893
7764
  "type": {
7894
- "text": "number"
7765
+ "text": "SearchBoxSuggestionsBindings<SearchBox | StandaloneSearchBox>"
7895
7766
  },
7896
- "privacy": "public",
7897
- "default": "3",
7898
- "description": "The maximum number of suggestions to display when the user types in the input field.",
7899
- "attribute": "max-with-query",
7900
- "reflects": true
7767
+ "privacy": "private",
7768
+ "readonly": true
7901
7769
  },
7902
7770
  {
7903
7771
  "kind": "field",
7904
- "name": "maxWithoutQuery",
7772
+ "name": "partialSuggestionBindings",
7905
7773
  "type": {
7906
- "text": "number"
7774
+ "text": "Pick<\n SearchBoxSuggestionsBindings<SearchBox | StandaloneSearchBox>,\n 'id' | 'isStandalone' | 'searchBoxController' | 'numberOfQueries' | 'clearFilters'\n >"
7907
7775
  },
7908
- "privacy": "public",
7909
- "description": "The maximum number of suggestions to display initially, when the input field is empty.",
7910
- "attribute": "max-without-query",
7911
- "reflects": true
7776
+ "privacy": "private",
7777
+ "readonly": true
7912
7778
  },
7913
7779
  {
7914
7780
  "kind": "field",
7915
- "name": "searchBoxAriaMessage",
7781
+ "name": "searchBoxOptions",
7782
+ "type": {
7783
+ "text": "SearchBoxOptions"
7784
+ },
7916
7785
  "privacy": "private",
7917
- "default": "new AriaLiveRegionController(this, 'recent-search-cleared', true)"
7786
+ "readonly": true
7918
7787
  },
7919
7788
  {
7920
7789
  "kind": "method",
7921
- "name": "initialize",
7922
- "privacy": "public",
7923
- "return": {
7924
- "type": {
7925
- "text": "SearchBoxSuggestions"
7790
+ "name": "registerNewSearchBoxController",
7791
+ "privacy": "private"
7792
+ },
7793
+ {
7794
+ "kind": "method",
7795
+ "name": "registerSearchboxSuggestionEvents",
7796
+ "privacy": "private"
7797
+ },
7798
+ {
7799
+ "kind": "method",
7800
+ "name": "onInput",
7801
+ "privacy": "private",
7802
+ "parameters": [
7803
+ {
7804
+ "name": "value",
7805
+ "type": {
7806
+ "text": "string"
7807
+ }
7926
7808
  }
7927
- }
7809
+ ]
7928
7810
  },
7929
7811
  {
7930
7812
  "kind": "method",
7931
- "name": "retrieveLocalStorage",
7813
+ "name": "onFocus",
7932
7814
  "privacy": "private"
7933
7815
  },
7934
7816
  {
7935
7817
  "kind": "method",
7936
- "name": "updateLocalStorage",
7818
+ "name": "onSubmit",
7937
7819
  "privacy": "private"
7938
7820
  },
7939
7821
  {
7940
- "kind": "field",
7941
- "name": "warnUser",
7822
+ "kind": "method",
7823
+ "name": "onKeyDown",
7824
+ "privacy": "private",
7825
+ "parameters": [
7826
+ {
7827
+ "name": "e",
7828
+ "type": {
7829
+ "text": "KeyboardEvent"
7830
+ }
7831
+ }
7832
+ ]
7833
+ },
7834
+ {
7835
+ "kind": "method",
7836
+ "name": "triggerTextAreaChange",
7837
+ "privacy": "private",
7838
+ "parameters": [
7839
+ {
7840
+ "name": "value",
7841
+ "type": {
7842
+ "text": "string"
7843
+ }
7844
+ }
7845
+ ]
7846
+ },
7847
+ {
7848
+ "kind": "method",
7849
+ "name": "announceNewActiveSuggestionToScreenReader",
7942
7850
  "privacy": "private"
7943
7851
  },
7944
7852
  {
7945
7853
  "kind": "method",
7946
- "name": "disableFeature",
7854
+ "name": "announceNewSuggestionsToScreenReader",
7947
7855
  "privacy": "private"
7948
7856
  },
7949
7857
  {
7950
7858
  "kind": "method",
7951
- "name": "renderItems",
7859
+ "name": "updateQueryWithoutQuerySuggestionTrigger",
7952
7860
  "privacy": "private",
7953
- "return": {
7954
- "type": {
7955
- "text": "SearchBoxSuggestionElement[]"
7861
+ "parameters": [
7862
+ {
7863
+ "name": "query",
7864
+ "type": {
7865
+ "text": "string"
7866
+ }
7956
7867
  }
7957
- }
7868
+ ]
7958
7869
  },
7959
7870
  {
7960
7871
  "kind": "method",
7961
- "name": "renderClear",
7872
+ "name": "renderAbsolutePositionSpacer",
7873
+ "privacy": "private"
7874
+ },
7875
+ {
7876
+ "kind": "method",
7877
+ "name": "renderTextBox",
7878
+ "privacy": "private"
7879
+ },
7880
+ {
7881
+ "kind": "field",
7882
+ "name": "clearRecentQueriesElement",
7962
7883
  "privacy": "private",
7963
- "return": {
7964
- "type": {
7965
- "text": "SearchBoxSuggestionElement"
7884
+ "readonly": true
7885
+ },
7886
+ {
7887
+ "kind": "method",
7888
+ "name": "renderRecentQueriesTitle",
7889
+ "privacy": "private"
7890
+ },
7891
+ {
7892
+ "kind": "method",
7893
+ "name": "renderClearRecentQueriesButton",
7894
+ "privacy": "private",
7895
+ "parameters": [
7896
+ {
7897
+ "name": "element",
7898
+ "type": {
7899
+ "text": "SearchBoxSuggestionElement"
7900
+ }
7966
7901
  }
7967
- }
7902
+ ]
7968
7903
  },
7969
7904
  {
7970
7905
  "kind": "method",
7971
- "name": "renderItem",
7906
+ "name": "renderSuggestions",
7907
+ "privacy": "private"
7908
+ },
7909
+ {
7910
+ "kind": "method",
7911
+ "name": "renderPanel",
7972
7912
  "privacy": "private",
7973
- "return": {
7974
- "type": {
7975
- "text": "SearchBoxSuggestionElement"
7913
+ "parameters": [
7914
+ {
7915
+ "name": "side",
7916
+ "type": {
7917
+ "text": "'left' | 'right'"
7918
+ }
7919
+ },
7920
+ {
7921
+ "name": "elements",
7922
+ "type": {
7923
+ "text": "SearchBoxSuggestionElement[]"
7924
+ }
7925
+ },
7926
+ {
7927
+ "name": "setRef",
7928
+ "type": {
7929
+ "text": "(el: HTMLElement | undefined) => void"
7930
+ }
7931
+ },
7932
+ {
7933
+ "name": "getRef",
7934
+ "type": {
7935
+ "text": "() => HTMLElement | undefined"
7936
+ }
7976
7937
  }
7977
- },
7938
+ ]
7939
+ },
7940
+ {
7941
+ "kind": "method",
7942
+ "name": "renderSuggestion",
7943
+ "privacy": "private",
7978
7944
  "parameters": [
7979
7945
  {
7980
- "name": "value",
7946
+ "name": "item",
7981
7947
  "type": {
7982
- "text": "string"
7948
+ "text": "SearchBoxSuggestionElement"
7949
+ }
7950
+ },
7951
+ {
7952
+ "name": "index",
7953
+ "type": {
7954
+ "text": "number"
7955
+ }
7956
+ },
7957
+ {
7958
+ "name": "lastIndex",
7959
+ "type": {
7960
+ "text": "number"
7961
+ }
7962
+ },
7963
+ {
7964
+ "name": "side",
7965
+ "type": {
7966
+ "text": "'left' | 'right'"
7983
7967
  }
7984
7968
  }
7985
7969
  ]
7970
+ },
7971
+ {
7972
+ "kind": "method",
7973
+ "name": "renderSlotContent",
7974
+ "privacy": "private"
7975
+ },
7976
+ {
7977
+ "kind": "method",
7978
+ "name": "announceClearSearchBoxToScreenReader",
7979
+ "privacy": "private"
7980
+ }
7981
+ ],
7982
+ "events": [
7983
+ {
7984
+ "description": "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.",
7985
+ "name": "redirect"
7986
7986
  }
7987
7987
  ],
7988
7988
  "attributes": [
7989
7989
  {
7990
- "name": "icon",
7990
+ "name": "number-of-queries",
7991
+ "type": {
7992
+ "text": "number"
7993
+ },
7994
+ "default": "8",
7995
+ "description": "The amount of queries displayed when the user interacts with the search box.\nBy default, a mix of query suggestions and recent queries will be shown.\nYou can configure those settings using the following components as children:\n - atomic-commerce-search-box-query-suggestions\n - atomic-commerce-search-box-recent-queries",
7996
+ "fieldName": "numberOfQueries"
7997
+ },
7998
+ {
7999
+ "name": "redirection-url",
7991
8000
  "type": {
7992
8001
  "text": "string"
7993
8002
  },
7994
- "description": "The SVG icon to display.\n\n- Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.\n- Use a value that starts with `assets://`, to display an icon from the Atomic package.\n- Use a stringified SVG to display it directly.",
7995
- "fieldName": "icon"
8003
+ "description": "Defining this option makes the search box standalone (see [Use a\nStandalone Search Box](https://docs.coveo.com/en/atomic/latest/usage/ssb/)).\n\nThis option defines the default URL the user should be redirected to, when a query is submitted.\nIf a query pipeline redirect is triggered, it will redirect to that URL instead\n(see [query pipeline triggers](https://docs.coveo.com/en/1458)).",
8004
+ "fieldName": "redirectionUrl"
7996
8005
  },
7997
8006
  {
7998
- "name": "max-with-query",
8007
+ "name": "suggestion-timeout",
7999
8008
  "type": {
8000
8009
  "text": "number"
8001
8010
  },
8002
- "default": "3",
8003
- "description": "The maximum number of suggestions to display when the user types in the input field.",
8004
- "fieldName": "maxWithQuery"
8011
+ "default": "400",
8012
+ "description": "The timeout for suggestion queries, in milliseconds.\nIf a suggestion query times out, the suggestions from that particular query won't be shown.",
8013
+ "fieldName": "suggestionTimeout"
8005
8014
  },
8006
8015
  {
8007
- "name": "max-without-query",
8016
+ "name": "suggestion-delay",
8008
8017
  "type": {
8009
8018
  "text": "number"
8010
8019
  },
8011
- "description": "The maximum number of suggestions to display initially, when the input field is empty.",
8012
- "fieldName": "maxWithoutQuery"
8020
+ "default": "0",
8021
+ "description": "The delay for suggestion queries on input, in milliseconds.\n\nThe suggestion request will be delayed until the end user stops typing for at least the specified amount of time.\n\nThis delay is used to avoid sending too many requests to the Coveo Platform when the user is typing, as well as reducing potential input lag on low end devices.\nA higher delay will reduce input lag, at the cost of suggestions freshness.",
8022
+ "fieldName": "suggestionDelay"
8023
+ },
8024
+ {
8025
+ "name": "disable-search",
8026
+ "type": {
8027
+ "text": "boolean"
8028
+ },
8029
+ "default": "false",
8030
+ "description": "Whether to prevent the user from triggering searches and query suggestions from the component.\nPerfect for use cases where you need to disable the search conditionally.\nFor the specific case when you need to disable the search based on the length of the query, refer to minimumQueryLength.",
8031
+ "fieldName": "disableSearch"
8032
+ },
8033
+ {
8034
+ "name": "minimum-query-length",
8035
+ "type": {
8036
+ "text": "number"
8037
+ },
8038
+ "default": "0",
8039
+ "description": "The minimum query length required to enable search.\nFor example, to disable the search for empty queries, set this to `1`.",
8040
+ "fieldName": "minimumQueryLength"
8041
+ },
8042
+ {
8043
+ "name": "clear-filters",
8044
+ "type": {
8045
+ "text": "boolean"
8046
+ },
8047
+ "default": "true",
8048
+ "description": "Whether to clear all active query filters when the end user submits a new query from the search box.\nSetting this option to \"false\" is not recommended and can lead to an increasing number of queries returning no products.",
8049
+ "fieldName": "clearFilters"
8050
+ },
8051
+ {
8052
+ "name": "clear-recent-button-position",
8053
+ "type": {
8054
+ "text": "'top' | 'bottom'"
8055
+ },
8056
+ "default": "'top'",
8057
+ "description": "The position of the option to clear the recent queries.\n\n- `top`: The option is the first suggestion, next to the \"Recent searches\" title.\n- `bottom`: The option is a button below the suggestions, so the arrow keys only navigate through the suggestions and the button is reached with the Tab key.\n\nIn the next major version of Atomic (v4), `bottom` will become the default behavior. To adopt it ahead of time, set this property to `bottom`.",
8058
+ "fieldName": "clearRecentButtonPosition"
8013
8059
  }
8014
8060
  ],
8015
8061
  "superclass": {
8016
8062
  "name": "LitElement",
8017
8063
  "package": "lit"
8018
8064
  },
8019
- "events": [],
8020
- "tagName": "atomic-commerce-search-box-recent-queries",
8065
+ "tagName": "atomic-commerce-search-box",
8021
8066
  "customElement": true
8022
8067
  }
8023
8068
  ],
8024
8069
  "exports": [
8025
8070
  {
8026
8071
  "kind": "js",
8027
- "name": "AtomicCommerceSearchBoxRecentQueries",
8072
+ "name": "AtomicCommerceSearchBox",
8028
8073
  "declaration": {
8029
- "name": "AtomicCommerceSearchBoxRecentQueries",
8030
- "module": "src/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.ts"
8074
+ "name": "AtomicCommerceSearchBox",
8075
+ "module": "src/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.ts"
8031
8076
  }
8032
8077
  },
8033
8078
  {
8034
8079
  "kind": "custom-element-definition",
8035
- "name": "atomic-commerce-search-box-recent-queries",
8080
+ "name": "atomic-commerce-search-box",
8036
8081
  "declaration": {
8037
- "name": "AtomicCommerceSearchBoxRecentQueries",
8038
- "module": "src/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.ts"
8082
+ "name": "AtomicCommerceSearchBox",
8083
+ "module": "src/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.ts"
8039
8084
  }
8040
8085
  }
8041
8086
  ]
@@ -17289,9 +17334,22 @@
17289
17334
  "privacy": "public",
17290
17335
  "default": "true",
17291
17336
  "description": "Whether analytics should be enabled.",
17337
+ "deprecated": "- Use `disable-analytics` instead (this defaults to `true`, while the replacement defaults to `false`).",
17292
17338
  "attribute": "analytics",
17293
17339
  "reflects": true
17294
17340
  },
17341
+ {
17342
+ "kind": "field",
17343
+ "name": "disableAnalytics",
17344
+ "type": {
17345
+ "text": "boolean"
17346
+ },
17347
+ "privacy": "public",
17348
+ "default": "false",
17349
+ "description": "Whether to disable analytics.",
17350
+ "attribute": "disable-analytics",
17351
+ "reflects": true
17352
+ },
17295
17353
  {
17296
17354
  "kind": "field",
17297
17355
  "name": "i18n",
@@ -17516,8 +17574,18 @@
17516
17574
  },
17517
17575
  "default": "true",
17518
17576
  "description": "Whether analytics should be enabled.",
17577
+ "deprecated": "- Use `disable-analytics` instead (this defaults to `true`, while the replacement defaults to `false`).",
17519
17578
  "fieldName": "analytics"
17520
17579
  },
17580
+ {
17581
+ "name": "disable-analytics",
17582
+ "type": {
17583
+ "text": "boolean"
17584
+ },
17585
+ "default": "false",
17586
+ "description": "Whether to disable analytics.",
17587
+ "fieldName": "disableAnalytics"
17588
+ },
17521
17589
  {
17522
17590
  "name": "i18n",
17523
17591
  "type": {
@@ -17611,6 +17679,137 @@
17611
17679
  "declarations": [],
17612
17680
  "exports": []
17613
17681
  },
17682
+ {
17683
+ "kind": "javascript-module",
17684
+ "path": "src/components/insight/atomic-insight-no-results/atomic-insight-no-results.ts",
17685
+ "declarations": [
17686
+ {
17687
+ "kind": "class",
17688
+ "description": "The `atomic-insight-no-results` component displays search tips when there are no results. Any additional content slotted inside of its element will be displayed as well.",
17689
+ "name": "AtomicInsightNoResults",
17690
+ "cssParts": [
17691
+ {
17692
+ "description": "The text indicating that no results were found for the search.",
17693
+ "name": "no-results"
17694
+ },
17695
+ {
17696
+ "description": "The search tips to help the user correct the query.",
17697
+ "name": "search-tips"
17698
+ },
17699
+ {
17700
+ "description": "The highlighted query.",
17701
+ "name": "highlight"
17702
+ },
17703
+ {
17704
+ "description": "The magnifying glass icon.",
17705
+ "name": "icon"
17706
+ }
17707
+ ],
17708
+ "slots": [
17709
+ {
17710
+ "description": "Any additional content slotted inside of its element will be displayed as well.",
17711
+ "name": "default"
17712
+ }
17713
+ ],
17714
+ "members": [
17715
+ {
17716
+ "kind": "field",
17717
+ "name": "bindings",
17718
+ "type": {
17719
+ "text": "InsightBindings"
17720
+ },
17721
+ "privacy": "private"
17722
+ },
17723
+ {
17724
+ "kind": "field",
17725
+ "name": "searchStatus",
17726
+ "type": {
17727
+ "text": "SearchStatus"
17728
+ },
17729
+ "privacy": "private"
17730
+ },
17731
+ {
17732
+ "kind": "field",
17733
+ "name": "querySummary",
17734
+ "type": {
17735
+ "text": "QuerySummary"
17736
+ },
17737
+ "privacy": "private"
17738
+ },
17739
+ {
17740
+ "kind": "field",
17741
+ "name": "searchStatusState",
17742
+ "type": {
17743
+ "text": "SearchStatusState"
17744
+ },
17745
+ "privacy": "private"
17746
+ },
17747
+ {
17748
+ "kind": "field",
17749
+ "name": "querySummaryState",
17750
+ "type": {
17751
+ "text": "QuerySummaryState"
17752
+ },
17753
+ "privacy": "private"
17754
+ },
17755
+ {
17756
+ "kind": "field",
17757
+ "name": "error",
17758
+ "type": {
17759
+ "text": "Error"
17760
+ },
17761
+ "privacy": "private"
17762
+ },
17763
+ {
17764
+ "kind": "field",
17765
+ "name": "ariaMessage",
17766
+ "privacy": "protected",
17767
+ "default": "new AriaLiveRegionController(this, 'no-results')"
17768
+ },
17769
+ {
17770
+ "kind": "method",
17771
+ "name": "initialize",
17772
+ "privacy": "public"
17773
+ },
17774
+ {
17775
+ "kind": "method",
17776
+ "name": "renderNoItems",
17777
+ "privacy": "private"
17778
+ },
17779
+ {
17780
+ "kind": "method",
17781
+ "name": "renderSearchTips",
17782
+ "privacy": "private"
17783
+ }
17784
+ ],
17785
+ "superclass": {
17786
+ "name": "LitElement",
17787
+ "package": "lit"
17788
+ },
17789
+ "events": [],
17790
+ "tagName": "atomic-insight-no-results",
17791
+ "customElement": true
17792
+ }
17793
+ ],
17794
+ "exports": [
17795
+ {
17796
+ "kind": "js",
17797
+ "name": "AtomicInsightNoResults",
17798
+ "declaration": {
17799
+ "name": "AtomicInsightNoResults",
17800
+ "module": "src/components/insight/atomic-insight-no-results/atomic-insight-no-results.ts"
17801
+ }
17802
+ },
17803
+ {
17804
+ "kind": "custom-element-definition",
17805
+ "name": "atomic-insight-no-results",
17806
+ "declaration": {
17807
+ "name": "AtomicInsightNoResults",
17808
+ "module": "src/components/insight/atomic-insight-no-results/atomic-insight-no-results.ts"
17809
+ }
17810
+ }
17811
+ ]
17812
+ },
17614
17813
  {
17615
17814
  "kind": "javascript-module",
17616
17815
  "path": "src/components/insight/atomic-insight-layout/atomic-insight-layout.ts",
@@ -17785,137 +17984,6 @@
17785
17984
  "declarations": [],
17786
17985
  "exports": []
17787
17986
  },
17788
- {
17789
- "kind": "javascript-module",
17790
- "path": "src/components/insight/atomic-insight-no-results/atomic-insight-no-results.ts",
17791
- "declarations": [
17792
- {
17793
- "kind": "class",
17794
- "description": "The `atomic-insight-no-results` component displays search tips when there are no results. Any additional content slotted inside of its element will be displayed as well.",
17795
- "name": "AtomicInsightNoResults",
17796
- "cssParts": [
17797
- {
17798
- "description": "The text indicating that no results were found for the search.",
17799
- "name": "no-results"
17800
- },
17801
- {
17802
- "description": "The search tips to help the user correct the query.",
17803
- "name": "search-tips"
17804
- },
17805
- {
17806
- "description": "The highlighted query.",
17807
- "name": "highlight"
17808
- },
17809
- {
17810
- "description": "The magnifying glass icon.",
17811
- "name": "icon"
17812
- }
17813
- ],
17814
- "slots": [
17815
- {
17816
- "description": "Any additional content slotted inside of its element will be displayed as well.",
17817
- "name": "default"
17818
- }
17819
- ],
17820
- "members": [
17821
- {
17822
- "kind": "field",
17823
- "name": "bindings",
17824
- "type": {
17825
- "text": "InsightBindings"
17826
- },
17827
- "privacy": "private"
17828
- },
17829
- {
17830
- "kind": "field",
17831
- "name": "searchStatus",
17832
- "type": {
17833
- "text": "SearchStatus"
17834
- },
17835
- "privacy": "private"
17836
- },
17837
- {
17838
- "kind": "field",
17839
- "name": "querySummary",
17840
- "type": {
17841
- "text": "QuerySummary"
17842
- },
17843
- "privacy": "private"
17844
- },
17845
- {
17846
- "kind": "field",
17847
- "name": "searchStatusState",
17848
- "type": {
17849
- "text": "SearchStatusState"
17850
- },
17851
- "privacy": "private"
17852
- },
17853
- {
17854
- "kind": "field",
17855
- "name": "querySummaryState",
17856
- "type": {
17857
- "text": "QuerySummaryState"
17858
- },
17859
- "privacy": "private"
17860
- },
17861
- {
17862
- "kind": "field",
17863
- "name": "error",
17864
- "type": {
17865
- "text": "Error"
17866
- },
17867
- "privacy": "private"
17868
- },
17869
- {
17870
- "kind": "field",
17871
- "name": "ariaMessage",
17872
- "privacy": "protected",
17873
- "default": "new AriaLiveRegionController(this, 'no-results')"
17874
- },
17875
- {
17876
- "kind": "method",
17877
- "name": "initialize",
17878
- "privacy": "public"
17879
- },
17880
- {
17881
- "kind": "method",
17882
- "name": "renderNoItems",
17883
- "privacy": "private"
17884
- },
17885
- {
17886
- "kind": "method",
17887
- "name": "renderSearchTips",
17888
- "privacy": "private"
17889
- }
17890
- ],
17891
- "superclass": {
17892
- "name": "LitElement",
17893
- "package": "lit"
17894
- },
17895
- "events": [],
17896
- "tagName": "atomic-insight-no-results",
17897
- "customElement": true
17898
- }
17899
- ],
17900
- "exports": [
17901
- {
17902
- "kind": "js",
17903
- "name": "AtomicInsightNoResults",
17904
- "declaration": {
17905
- "name": "AtomicInsightNoResults",
17906
- "module": "src/components/insight/atomic-insight-no-results/atomic-insight-no-results.ts"
17907
- }
17908
- },
17909
- {
17910
- "kind": "custom-element-definition",
17911
- "name": "atomic-insight-no-results",
17912
- "declaration": {
17913
- "name": "AtomicInsightNoResults",
17914
- "module": "src/components/insight/atomic-insight-no-results/atomic-insight-no-results.ts"
17915
- }
17916
- }
17917
- ]
17918
- },
17919
17987
  {
17920
17988
  "kind": "javascript-module",
17921
17989
  "path": "src/components/insight/atomic-insight-numeric-facet/atomic-insight-numeric-facet.ts",
@@ -21935,6 +22003,235 @@
21935
22003
  "declarations": [],
21936
22004
  "exports": []
21937
22005
  },
22006
+ {
22007
+ "kind": "javascript-module",
22008
+ "path": "src/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.ts",
22009
+ "declarations": [
22010
+ {
22011
+ "kind": "class",
22012
+ "description": "The `atomic-insight-smart-snippet-feedback-modal` is automatically created as a child of the `atomic-insight-interface` when the `atomic-insight-smart-snippet` is initialized.\n\nWhen the modal is opened, the class `atomic-modal-opened` is added to the body, allowing further customization.",
22013
+ "name": "AtomicInsightSmartSnippetFeedbackModal",
22014
+ "cssParts": [
22015
+ {
22016
+ "description": "The transparent backdrop hiding the content behind the modal.",
22017
+ "name": "backdrop"
22018
+ },
22019
+ {
22020
+ "description": "The modal's outermost container with the outline and background.",
22021
+ "name": "container"
22022
+ },
22023
+ {
22024
+ "description": "The wrapper around the header.",
22025
+ "name": "header-wrapper"
22026
+ },
22027
+ {
22028
+ "description": "The header of the modal, containing the title.",
22029
+ "name": "header"
22030
+ },
22031
+ {
22032
+ "description": "The horizontal ruler underneath the header.",
22033
+ "name": "header-ruler"
22034
+ },
22035
+ {
22036
+ "description": "The wrapper around the body.",
22037
+ "name": "body-wrapper"
22038
+ },
22039
+ {
22040
+ "description": "The body of the modal, between the header and the footer.",
22041
+ "name": "body"
22042
+ },
22043
+ {
22044
+ "description": "The wrapper around the reason and details.",
22045
+ "name": "form"
22046
+ },
22047
+ {
22048
+ "description": "The title above the reason radio buttons.",
22049
+ "name": "reason-title"
22050
+ },
22051
+ {
22052
+ "description": "A wrapper around the radio button and the label of a reason.",
22053
+ "name": "reason"
22054
+ },
22055
+ {
22056
+ "description": "A radio button representing a reason.",
22057
+ "name": "reason-radio"
22058
+ },
22059
+ {
22060
+ "description": "A label linked to a radio button representing a reason.",
22061
+ "name": "reason-label"
22062
+ },
22063
+ {
22064
+ "description": "The title above the details input.",
22065
+ "name": "details-title"
22066
+ },
22067
+ {
22068
+ "description": "The input to specify additional details.",
22069
+ "name": "details-input"
22070
+ },
22071
+ {
22072
+ "description": "The wrapper with a shadow around the footer.",
22073
+ "name": "footer-wrapper"
22074
+ },
22075
+ {
22076
+ "description": "The footer at the bottom of the modal.",
22077
+ "name": "footer"
22078
+ },
22079
+ {
22080
+ "description": "The wrapper around the cancel and submit buttons.",
22081
+ "name": "buttons"
22082
+ },
22083
+ {
22084
+ "description": "The cancel button.",
22085
+ "name": "cancel-button"
22086
+ },
22087
+ {
22088
+ "description": "The submit button.",
22089
+ "name": "submit-button"
22090
+ }
22091
+ ],
22092
+ "members": [
22093
+ {
22094
+ "kind": "field",
22095
+ "name": "bindings",
22096
+ "type": {
22097
+ "text": "InsightBindings"
22098
+ },
22099
+ "privacy": "private"
22100
+ },
22101
+ {
22102
+ "kind": "field",
22103
+ "name": "error",
22104
+ "type": {
22105
+ "text": "Error"
22106
+ },
22107
+ "privacy": "private"
22108
+ },
22109
+ {
22110
+ "kind": "field",
22111
+ "name": "source",
22112
+ "type": {
22113
+ "text": "HTMLElement | undefined"
22114
+ },
22115
+ "description": "The element that triggers the feedback modal."
22116
+ },
22117
+ {
22118
+ "kind": "field",
22119
+ "name": "isOpen",
22120
+ "type": {
22121
+ "text": "boolean"
22122
+ },
22123
+ "privacy": "public",
22124
+ "default": "false",
22125
+ "description": "Whether the modal is open.",
22126
+ "attribute": "is-open",
22127
+ "reflects": true
22128
+ },
22129
+ {
22130
+ "kind": "field",
22131
+ "name": "currentAnswer",
22132
+ "type": {
22133
+ "text": "SmartSnippetFeedback | 'other' | undefined"
22134
+ },
22135
+ "privacy": "private"
22136
+ },
22137
+ {
22138
+ "kind": "field",
22139
+ "name": "detailsInputRef",
22140
+ "type": {
22141
+ "text": "Ref<HTMLTextAreaElement>"
22142
+ },
22143
+ "privacy": "private"
22144
+ },
22145
+ {
22146
+ "kind": "field",
22147
+ "name": "formId",
22148
+ "privacy": "private",
22149
+ "readonly": true
22150
+ },
22151
+ {
22152
+ "kind": "field",
22153
+ "name": "smartSnippet",
22154
+ "type": {
22155
+ "text": "SmartSnippet"
22156
+ },
22157
+ "privacy": "private"
22158
+ },
22159
+ {
22160
+ "kind": "method",
22161
+ "name": "initialize",
22162
+ "privacy": "public"
22163
+ },
22164
+ {
22165
+ "kind": "method",
22166
+ "name": "close",
22167
+ "privacy": "private"
22168
+ },
22169
+ {
22170
+ "kind": "method",
22171
+ "name": "sendFeedback",
22172
+ "privacy": "private",
22173
+ "parameters": [
22174
+ {
22175
+ "name": "e",
22176
+ "type": {
22177
+ "text": "Event"
22178
+ }
22179
+ }
22180
+ ]
22181
+ }
22182
+ ],
22183
+ "events": [
22184
+ {
22185
+ "name": "feedbackSent",
22186
+ "type": {
22187
+ "text": "Event"
22188
+ }
22189
+ }
22190
+ ],
22191
+ "attributes": [
22192
+ {
22193
+ "name": "is-open",
22194
+ "type": {
22195
+ "text": "boolean"
22196
+ },
22197
+ "default": "false",
22198
+ "description": "Whether the modal is open.",
22199
+ "fieldName": "isOpen"
22200
+ }
22201
+ ],
22202
+ "superclass": {
22203
+ "name": "LitElement",
22204
+ "package": "lit"
22205
+ },
22206
+ "tagName": "atomic-insight-smart-snippet-feedback-modal",
22207
+ "customElement": true
22208
+ }
22209
+ ],
22210
+ "exports": [
22211
+ {
22212
+ "kind": "js",
22213
+ "name": "AtomicInsightSmartSnippetFeedbackModal",
22214
+ "declaration": {
22215
+ "name": "AtomicInsightSmartSnippetFeedbackModal",
22216
+ "module": "src/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.ts"
22217
+ }
22218
+ },
22219
+ {
22220
+ "kind": "custom-element-definition",
22221
+ "name": "atomic-insight-smart-snippet-feedback-modal",
22222
+ "declaration": {
22223
+ "name": "AtomicInsightSmartSnippetFeedbackModal",
22224
+ "module": "src/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.ts"
22225
+ }
22226
+ }
22227
+ ]
22228
+ },
22229
+ {
22230
+ "kind": "javascript-module",
22231
+ "path": "src/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.tw.css.ts",
22232
+ "declarations": [],
22233
+ "exports": []
22234
+ },
21938
22235
  {
21939
22236
  "kind": "javascript-module",
21940
22237
  "path": "src/components/insight/atomic-insight-smart-snippet/atomic-insight-smart-snippet.ts",
@@ -22189,235 +22486,6 @@
22189
22486
  "declarations": [],
22190
22487
  "exports": []
22191
22488
  },
22192
- {
22193
- "kind": "javascript-module",
22194
- "path": "src/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.ts",
22195
- "declarations": [
22196
- {
22197
- "kind": "class",
22198
- "description": "The `atomic-insight-smart-snippet-feedback-modal` is automatically created as a child of the `atomic-insight-interface` when the `atomic-insight-smart-snippet` is initialized.\n\nWhen the modal is opened, the class `atomic-modal-opened` is added to the body, allowing further customization.",
22199
- "name": "AtomicInsightSmartSnippetFeedbackModal",
22200
- "cssParts": [
22201
- {
22202
- "description": "The transparent backdrop hiding the content behind the modal.",
22203
- "name": "backdrop"
22204
- },
22205
- {
22206
- "description": "The modal's outermost container with the outline and background.",
22207
- "name": "container"
22208
- },
22209
- {
22210
- "description": "The wrapper around the header.",
22211
- "name": "header-wrapper"
22212
- },
22213
- {
22214
- "description": "The header of the modal, containing the title.",
22215
- "name": "header"
22216
- },
22217
- {
22218
- "description": "The horizontal ruler underneath the header.",
22219
- "name": "header-ruler"
22220
- },
22221
- {
22222
- "description": "The wrapper around the body.",
22223
- "name": "body-wrapper"
22224
- },
22225
- {
22226
- "description": "The body of the modal, between the header and the footer.",
22227
- "name": "body"
22228
- },
22229
- {
22230
- "description": "The wrapper around the reason and details.",
22231
- "name": "form"
22232
- },
22233
- {
22234
- "description": "The title above the reason radio buttons.",
22235
- "name": "reason-title"
22236
- },
22237
- {
22238
- "description": "A wrapper around the radio button and the label of a reason.",
22239
- "name": "reason"
22240
- },
22241
- {
22242
- "description": "A radio button representing a reason.",
22243
- "name": "reason-radio"
22244
- },
22245
- {
22246
- "description": "A label linked to a radio button representing a reason.",
22247
- "name": "reason-label"
22248
- },
22249
- {
22250
- "description": "The title above the details input.",
22251
- "name": "details-title"
22252
- },
22253
- {
22254
- "description": "The input to specify additional details.",
22255
- "name": "details-input"
22256
- },
22257
- {
22258
- "description": "The wrapper with a shadow around the footer.",
22259
- "name": "footer-wrapper"
22260
- },
22261
- {
22262
- "description": "The footer at the bottom of the modal.",
22263
- "name": "footer"
22264
- },
22265
- {
22266
- "description": "The wrapper around the cancel and submit buttons.",
22267
- "name": "buttons"
22268
- },
22269
- {
22270
- "description": "The cancel button.",
22271
- "name": "cancel-button"
22272
- },
22273
- {
22274
- "description": "The submit button.",
22275
- "name": "submit-button"
22276
- }
22277
- ],
22278
- "members": [
22279
- {
22280
- "kind": "field",
22281
- "name": "bindings",
22282
- "type": {
22283
- "text": "InsightBindings"
22284
- },
22285
- "privacy": "private"
22286
- },
22287
- {
22288
- "kind": "field",
22289
- "name": "error",
22290
- "type": {
22291
- "text": "Error"
22292
- },
22293
- "privacy": "private"
22294
- },
22295
- {
22296
- "kind": "field",
22297
- "name": "source",
22298
- "type": {
22299
- "text": "HTMLElement | undefined"
22300
- },
22301
- "description": "The element that triggers the feedback modal."
22302
- },
22303
- {
22304
- "kind": "field",
22305
- "name": "isOpen",
22306
- "type": {
22307
- "text": "boolean"
22308
- },
22309
- "privacy": "public",
22310
- "default": "false",
22311
- "description": "Whether the modal is open.",
22312
- "attribute": "is-open",
22313
- "reflects": true
22314
- },
22315
- {
22316
- "kind": "field",
22317
- "name": "currentAnswer",
22318
- "type": {
22319
- "text": "SmartSnippetFeedback | 'other' | undefined"
22320
- },
22321
- "privacy": "private"
22322
- },
22323
- {
22324
- "kind": "field",
22325
- "name": "detailsInputRef",
22326
- "type": {
22327
- "text": "Ref<HTMLTextAreaElement>"
22328
- },
22329
- "privacy": "private"
22330
- },
22331
- {
22332
- "kind": "field",
22333
- "name": "formId",
22334
- "privacy": "private",
22335
- "readonly": true
22336
- },
22337
- {
22338
- "kind": "field",
22339
- "name": "smartSnippet",
22340
- "type": {
22341
- "text": "SmartSnippet"
22342
- },
22343
- "privacy": "private"
22344
- },
22345
- {
22346
- "kind": "method",
22347
- "name": "initialize",
22348
- "privacy": "public"
22349
- },
22350
- {
22351
- "kind": "method",
22352
- "name": "close",
22353
- "privacy": "private"
22354
- },
22355
- {
22356
- "kind": "method",
22357
- "name": "sendFeedback",
22358
- "privacy": "private",
22359
- "parameters": [
22360
- {
22361
- "name": "e",
22362
- "type": {
22363
- "text": "Event"
22364
- }
22365
- }
22366
- ]
22367
- }
22368
- ],
22369
- "events": [
22370
- {
22371
- "name": "feedbackSent",
22372
- "type": {
22373
- "text": "Event"
22374
- }
22375
- }
22376
- ],
22377
- "attributes": [
22378
- {
22379
- "name": "is-open",
22380
- "type": {
22381
- "text": "boolean"
22382
- },
22383
- "default": "false",
22384
- "description": "Whether the modal is open.",
22385
- "fieldName": "isOpen"
22386
- }
22387
- ],
22388
- "superclass": {
22389
- "name": "LitElement",
22390
- "package": "lit"
22391
- },
22392
- "tagName": "atomic-insight-smart-snippet-feedback-modal",
22393
- "customElement": true
22394
- }
22395
- ],
22396
- "exports": [
22397
- {
22398
- "kind": "js",
22399
- "name": "AtomicInsightSmartSnippetFeedbackModal",
22400
- "declaration": {
22401
- "name": "AtomicInsightSmartSnippetFeedbackModal",
22402
- "module": "src/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.ts"
22403
- }
22404
- },
22405
- {
22406
- "kind": "custom-element-definition",
22407
- "name": "atomic-insight-smart-snippet-feedback-modal",
22408
- "declaration": {
22409
- "name": "AtomicInsightSmartSnippetFeedbackModal",
22410
- "module": "src/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.ts"
22411
- }
22412
- }
22413
- ]
22414
- },
22415
- {
22416
- "kind": "javascript-module",
22417
- "path": "src/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.tw.css.ts",
22418
- "declarations": [],
22419
- "exports": []
22420
- },
22421
22489
  {
22422
22490
  "kind": "javascript-module",
22423
22491
  "path": "src/components/insight/atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.ts",
@@ -26097,9 +26165,22 @@
26097
26165
  "privacy": "public",
26098
26166
  "default": "true",
26099
26167
  "description": "Whether analytics should be enabled.",
26168
+ "deprecated": "- Use `disable-analytics` instead (this defaults to `true`, while the replacement defaults to `false`).",
26100
26169
  "attribute": "analytics",
26101
26170
  "reflects": true
26102
26171
  },
26172
+ {
26173
+ "kind": "field",
26174
+ "name": "disableAnalytics",
26175
+ "type": {
26176
+ "text": "boolean"
26177
+ },
26178
+ "privacy": "public",
26179
+ "default": "false",
26180
+ "description": "Whether to disable analytics.",
26181
+ "attribute": "disable-analytics",
26182
+ "reflects": true
26183
+ },
26103
26184
  {
26104
26185
  "kind": "field",
26105
26186
  "name": "timezone",
@@ -26202,7 +26283,7 @@
26202
26283
  }
26203
26284
  }
26204
26285
  ],
26205
- "description": "Initializes the interface using the provided [headless recommendation engine](https://docs.coveo.com/en/headless/latest/reference/modules/Recommendation.html), as opposed to the `initialize` method which internally builds a recommendation engine instance.\nThis bypasses the properties set on the component, such as analytics, searchHub, pipeline, language, timezone, and logLevel."
26286
+ "description": "Initializes the interface using the provided [headless recommendation engine](https://docs.coveo.com/en/headless/latest/reference/modules/Recommendation.html), as opposed to the `initialize` method which internally builds a recommendation engine instance.\nThis bypasses the properties set on the component, such as disableAnalytics, searchHub, pipeline, language, timezone, and logLevel."
26206
26287
  },
26207
26288
  {
26208
26289
  "kind": "method",
@@ -26333,8 +26414,18 @@
26333
26414
  },
26334
26415
  "default": "true",
26335
26416
  "description": "Whether analytics should be enabled.",
26417
+ "deprecated": "- Use `disable-analytics` instead (this defaults to `true`, while the replacement defaults to `false`).",
26336
26418
  "fieldName": "analytics"
26337
26419
  },
26420
+ {
26421
+ "name": "disable-analytics",
26422
+ "type": {
26423
+ "text": "boolean"
26424
+ },
26425
+ "default": "false",
26426
+ "description": "Whether to disable analytics.",
26427
+ "fieldName": "disableAnalytics"
26428
+ },
26338
26429
  {
26339
26430
  "name": "timezone",
26340
26431
  "type": {
@@ -41838,30 +41929,124 @@
41838
41929
  "exports": [
41839
41930
  {
41840
41931
  "kind": "js",
41841
- "name": "AtomicResultSectionBadges",
41932
+ "name": "AtomicResultSectionBadges",
41933
+ "declaration": {
41934
+ "name": "AtomicResultSectionBadges",
41935
+ "module": "src/components/search/atomic-result-section-badges/atomic-result-section-badges.ts"
41936
+ }
41937
+ },
41938
+ {
41939
+ "kind": "custom-element-definition",
41940
+ "name": "atomic-result-section-badges",
41941
+ "declaration": {
41942
+ "name": "AtomicResultSectionBadges",
41943
+ "module": "src/components/search/atomic-result-section-badges/atomic-result-section-badges.ts"
41944
+ }
41945
+ }
41946
+ ]
41947
+ },
41948
+ {
41949
+ "kind": "javascript-module",
41950
+ "path": "src/components/search/atomic-result-section-bottom-metadata/atomic-result-section-bottom-metadata.ts",
41951
+ "declarations": [
41952
+ {
41953
+ "kind": "class",
41954
+ "description": "This section is meant to render additional descriptive information about the result.\n\nBehavior:\n* Has a maximum height of two lines.\n** We recommend that you use `atomic-result-fields-list` to ensure that the fields in this section don't overflow.\n* Exposes the `--line-height` variable so child elements can adjust to the current line height.\n* Has a defined CSS `color` property for text.\n* Has a font weight.",
41955
+ "name": "AtomicResultSectionBottomMetadata",
41956
+ "mixins": [
41957
+ {
41958
+ "name": "ItemSectionMixin",
41959
+ "package": "@/src/mixins/item-section-mixin"
41960
+ }
41961
+ ],
41962
+ "superclass": {
41963
+ "name": "LitElement",
41964
+ "package": "lit"
41965
+ },
41966
+ "tagName": "atomic-result-section-bottom-metadata",
41967
+ "customElement": true,
41968
+ "members": [
41969
+ {
41970
+ "kind": "field",
41971
+ "name": "styles",
41972
+ "static": true,
41973
+ "default": "styles",
41974
+ "inheritedFrom": {
41975
+ "name": "ItemSectionMixin",
41976
+ "module": "src/mixins/item-section-mixin.ts"
41977
+ }
41978
+ },
41979
+ {
41980
+ "kind": "method",
41981
+ "name": "injectStyles",
41982
+ "parameters": [
41983
+ {
41984
+ "name": "dynamicStyles",
41985
+ "optional": true,
41986
+ "type": {
41987
+ "text": "CSSResultGroup"
41988
+ },
41989
+ "description": "Optional dynamic styles to inject along with static styles"
41990
+ }
41991
+ ],
41992
+ "description": "Injects styles into the document or shadow root.\n\nWhen called without arguments, injects the component's static styles.\nWhen called with dynamic styles, injects both static and dynamic styles.",
41993
+ "inheritedFrom": {
41994
+ "name": "LightDomMixin",
41995
+ "module": "src/mixins/light-dom.ts"
41996
+ }
41997
+ },
41998
+ {
41999
+ "kind": "method",
42000
+ "name": "getStyleSheet",
42001
+ "privacy": "private",
42002
+ "return": {
42003
+ "type": {
42004
+ "text": "CSSStyleSheet | null"
42005
+ }
42006
+ },
42007
+ "parameters": [
42008
+ {
42009
+ "name": "style",
42010
+ "type": {
42011
+ "text": "CSSResultOrNative | CSSResultArray | null | undefined"
42012
+ }
42013
+ }
42014
+ ],
42015
+ "inheritedFrom": {
42016
+ "name": "LightDomMixin",
42017
+ "module": "src/mixins/light-dom.ts"
42018
+ }
42019
+ }
42020
+ ]
42021
+ }
42022
+ ],
42023
+ "exports": [
42024
+ {
42025
+ "kind": "js",
42026
+ "name": "AtomicResultSectionBottomMetadata",
41842
42027
  "declaration": {
41843
- "name": "AtomicResultSectionBadges",
41844
- "module": "src/components/search/atomic-result-section-badges/atomic-result-section-badges.ts"
42028
+ "name": "AtomicResultSectionBottomMetadata",
42029
+ "module": "src/components/search/atomic-result-section-bottom-metadata/atomic-result-section-bottom-metadata.ts"
41845
42030
  }
41846
42031
  },
41847
42032
  {
41848
42033
  "kind": "custom-element-definition",
41849
- "name": "atomic-result-section-badges",
42034
+ "name": "atomic-result-section-bottom-metadata",
41850
42035
  "declaration": {
41851
- "name": "AtomicResultSectionBadges",
41852
- "module": "src/components/search/atomic-result-section-badges/atomic-result-section-badges.ts"
42036
+ "name": "AtomicResultSectionBottomMetadata",
42037
+ "module": "src/components/search/atomic-result-section-bottom-metadata/atomic-result-section-bottom-metadata.ts"
41853
42038
  }
41854
42039
  }
41855
42040
  ]
41856
42041
  },
41857
42042
  {
41858
42043
  "kind": "javascript-module",
41859
- "path": "src/components/search/atomic-result-section-bottom-metadata/atomic-result-section-bottom-metadata.ts",
42044
+ "path": "src/components/search/atomic-result-section-children/atomic-result-section-children.ts",
41860
42045
  "declarations": [
41861
42046
  {
41862
42047
  "kind": "class",
41863
- "description": "This section is meant to render additional descriptive information about the result.\n\nBehavior:\n* Has a maximum height of two lines.\n** We recommend that you use `atomic-result-fields-list` to ensure that the fields in this section don't overflow.\n* Exposes the `--line-height` variable so child elements can adjust to the current line height.\n* Has a defined CSS `color` property for text.\n* Has a font weight.",
41864
- "name": "AtomicResultSectionBottomMetadata",
42048
+ "description": "This section displays the folded results, available when using the <atomic-result-children> component.\n\nBehavior:\n* Shows children at the bottom of the result, indented and wrapped in a border.",
42049
+ "name": "AtomicResultSectionChildren",
41865
42050
  "mixins": [
41866
42051
  {
41867
42052
  "name": "ItemSectionMixin",
@@ -41872,7 +42057,7 @@
41872
42057
  "name": "LitElement",
41873
42058
  "package": "lit"
41874
42059
  },
41875
- "tagName": "atomic-result-section-bottom-metadata",
42060
+ "tagName": "atomic-result-section-children",
41876
42061
  "customElement": true,
41877
42062
  "members": [
41878
42063
  {
@@ -41932,30 +42117,30 @@
41932
42117
  "exports": [
41933
42118
  {
41934
42119
  "kind": "js",
41935
- "name": "AtomicResultSectionBottomMetadata",
42120
+ "name": "AtomicResultSectionChildren",
41936
42121
  "declaration": {
41937
- "name": "AtomicResultSectionBottomMetadata",
41938
- "module": "src/components/search/atomic-result-section-bottom-metadata/atomic-result-section-bottom-metadata.ts"
42122
+ "name": "AtomicResultSectionChildren",
42123
+ "module": "src/components/search/atomic-result-section-children/atomic-result-section-children.ts"
41939
42124
  }
41940
42125
  },
41941
42126
  {
41942
42127
  "kind": "custom-element-definition",
41943
- "name": "atomic-result-section-bottom-metadata",
42128
+ "name": "atomic-result-section-children",
41944
42129
  "declaration": {
41945
- "name": "AtomicResultSectionBottomMetadata",
41946
- "module": "src/components/search/atomic-result-section-bottom-metadata/atomic-result-section-bottom-metadata.ts"
42130
+ "name": "AtomicResultSectionChildren",
42131
+ "module": "src/components/search/atomic-result-section-children/atomic-result-section-children.ts"
41947
42132
  }
41948
42133
  }
41949
42134
  ]
41950
42135
  },
41951
42136
  {
41952
42137
  "kind": "javascript-module",
41953
- "path": "src/components/search/atomic-result-section-children/atomic-result-section-children.ts",
42138
+ "path": "src/components/search/atomic-result-section-emphasized/atomic-result-section-emphasized.ts",
41954
42139
  "declarations": [
41955
42140
  {
41956
42141
  "kind": "class",
41957
- "description": "This section displays the folded results, available when using the <atomic-result-children> component.\n\nBehavior:\n* Shows children at the bottom of the result, indented and wrapped in a border.",
41958
- "name": "AtomicResultSectionChildren",
42142
+ "description": "This section is intended to display the field that's important for its search criteria\nFor example, in Commerce, a product's price is often more important than the title itself.\n\nBehavior:\n* Has a very large font size.\n* Is the second closest element beneath the title section.",
42143
+ "name": "AtomicResultSectionEmphasized",
41959
42144
  "mixins": [
41960
42145
  {
41961
42146
  "name": "ItemSectionMixin",
@@ -41966,7 +42151,7 @@
41966
42151
  "name": "LitElement",
41967
42152
  "package": "lit"
41968
42153
  },
41969
- "tagName": "atomic-result-section-children",
42154
+ "tagName": "atomic-result-section-emphasized",
41970
42155
  "customElement": true,
41971
42156
  "members": [
41972
42157
  {
@@ -42026,30 +42211,30 @@
42026
42211
  "exports": [
42027
42212
  {
42028
42213
  "kind": "js",
42029
- "name": "AtomicResultSectionChildren",
42214
+ "name": "AtomicResultSectionEmphasized",
42030
42215
  "declaration": {
42031
- "name": "AtomicResultSectionChildren",
42032
- "module": "src/components/search/atomic-result-section-children/atomic-result-section-children.ts"
42216
+ "name": "AtomicResultSectionEmphasized",
42217
+ "module": "src/components/search/atomic-result-section-emphasized/atomic-result-section-emphasized.ts"
42033
42218
  }
42034
42219
  },
42035
42220
  {
42036
42221
  "kind": "custom-element-definition",
42037
- "name": "atomic-result-section-children",
42222
+ "name": "atomic-result-section-emphasized",
42038
42223
  "declaration": {
42039
- "name": "AtomicResultSectionChildren",
42040
- "module": "src/components/search/atomic-result-section-children/atomic-result-section-children.ts"
42224
+ "name": "AtomicResultSectionEmphasized",
42225
+ "module": "src/components/search/atomic-result-section-emphasized/atomic-result-section-emphasized.ts"
42041
42226
  }
42042
42227
  }
42043
42228
  ]
42044
42229
  },
42045
42230
  {
42046
42231
  "kind": "javascript-module",
42047
- "path": "src/components/search/atomic-result-section-emphasized/atomic-result-section-emphasized.ts",
42232
+ "path": "src/components/search/atomic-result-section-excerpt/atomic-result-section-excerpt.ts",
42048
42233
  "declarations": [
42049
42234
  {
42050
42235
  "kind": "class",
42051
- "description": "This section is intended to display the field that's important for its search criteria\nFor example, in Commerce, a product's price is often more important than the title itself.\n\nBehavior:\n* Has a very large font size.\n* Is the second closest element beneath the title section.",
42052
- "name": "AtomicResultSectionEmphasized",
42236
+ "description": "This section is intended to render an informative summary of the result's content\n\nBehavior:\n* Has a fixed height of one to three lines, depending on the layout and density.\n* Ellipses overflowing text.\n* Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.\n* Has a defined CSS `color` property for text.",
42237
+ "name": "AtomicResultSectionExcerpt",
42053
42238
  "mixins": [
42054
42239
  {
42055
42240
  "name": "ItemSectionMixin",
@@ -42060,7 +42245,7 @@
42060
42245
  "name": "LitElement",
42061
42246
  "package": "lit"
42062
42247
  },
42063
- "tagName": "atomic-result-section-emphasized",
42248
+ "tagName": "atomic-result-section-excerpt",
42064
42249
  "customElement": true,
42065
42250
  "members": [
42066
42251
  {
@@ -42120,18 +42305,18 @@
42120
42305
  "exports": [
42121
42306
  {
42122
42307
  "kind": "js",
42123
- "name": "AtomicResultSectionEmphasized",
42308
+ "name": "AtomicResultSectionExcerpt",
42124
42309
  "declaration": {
42125
- "name": "AtomicResultSectionEmphasized",
42126
- "module": "src/components/search/atomic-result-section-emphasized/atomic-result-section-emphasized.ts"
42310
+ "name": "AtomicResultSectionExcerpt",
42311
+ "module": "src/components/search/atomic-result-section-excerpt/atomic-result-section-excerpt.ts"
42127
42312
  }
42128
42313
  },
42129
42314
  {
42130
42315
  "kind": "custom-element-definition",
42131
- "name": "atomic-result-section-emphasized",
42316
+ "name": "atomic-result-section-excerpt",
42132
42317
  "declaration": {
42133
- "name": "AtomicResultSectionEmphasized",
42134
- "module": "src/components/search/atomic-result-section-emphasized/atomic-result-section-emphasized.ts"
42318
+ "name": "AtomicResultSectionExcerpt",
42319
+ "module": "src/components/search/atomic-result-section-excerpt/atomic-result-section-excerpt.ts"
42135
42320
  }
42136
42321
  }
42137
42322
  ]
@@ -44009,100 +44194,6 @@
44009
44194
  }
44010
44195
  ]
44011
44196
  },
44012
- {
44013
- "kind": "javascript-module",
44014
- "path": "src/components/search/atomic-result-section-excerpt/atomic-result-section-excerpt.ts",
44015
- "declarations": [
44016
- {
44017
- "kind": "class",
44018
- "description": "This section is intended to render an informative summary of the result's content\n\nBehavior:\n* Has a fixed height of one to three lines, depending on the layout and density.\n* Ellipses overflowing text.\n* Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.\n* Has a defined CSS `color` property for text.",
44019
- "name": "AtomicResultSectionExcerpt",
44020
- "mixins": [
44021
- {
44022
- "name": "ItemSectionMixin",
44023
- "package": "@/src/mixins/item-section-mixin"
44024
- }
44025
- ],
44026
- "superclass": {
44027
- "name": "LitElement",
44028
- "package": "lit"
44029
- },
44030
- "tagName": "atomic-result-section-excerpt",
44031
- "customElement": true,
44032
- "members": [
44033
- {
44034
- "kind": "field",
44035
- "name": "styles",
44036
- "static": true,
44037
- "default": "styles",
44038
- "inheritedFrom": {
44039
- "name": "ItemSectionMixin",
44040
- "module": "src/mixins/item-section-mixin.ts"
44041
- }
44042
- },
44043
- {
44044
- "kind": "method",
44045
- "name": "injectStyles",
44046
- "parameters": [
44047
- {
44048
- "name": "dynamicStyles",
44049
- "optional": true,
44050
- "type": {
44051
- "text": "CSSResultGroup"
44052
- },
44053
- "description": "Optional dynamic styles to inject along with static styles"
44054
- }
44055
- ],
44056
- "description": "Injects styles into the document or shadow root.\n\nWhen called without arguments, injects the component's static styles.\nWhen called with dynamic styles, injects both static and dynamic styles.",
44057
- "inheritedFrom": {
44058
- "name": "LightDomMixin",
44059
- "module": "src/mixins/light-dom.ts"
44060
- }
44061
- },
44062
- {
44063
- "kind": "method",
44064
- "name": "getStyleSheet",
44065
- "privacy": "private",
44066
- "return": {
44067
- "type": {
44068
- "text": "CSSStyleSheet | null"
44069
- }
44070
- },
44071
- "parameters": [
44072
- {
44073
- "name": "style",
44074
- "type": {
44075
- "text": "CSSResultOrNative | CSSResultArray | null | undefined"
44076
- }
44077
- }
44078
- ],
44079
- "inheritedFrom": {
44080
- "name": "LightDomMixin",
44081
- "module": "src/mixins/light-dom.ts"
44082
- }
44083
- }
44084
- ]
44085
- }
44086
- ],
44087
- "exports": [
44088
- {
44089
- "kind": "js",
44090
- "name": "AtomicResultSectionExcerpt",
44091
- "declaration": {
44092
- "name": "AtomicResultSectionExcerpt",
44093
- "module": "src/components/search/atomic-result-section-excerpt/atomic-result-section-excerpt.ts"
44094
- }
44095
- },
44096
- {
44097
- "kind": "custom-element-definition",
44098
- "name": "atomic-result-section-excerpt",
44099
- "declaration": {
44100
- "name": "AtomicResultSectionExcerpt",
44101
- "module": "src/components/search/atomic-result-section-excerpt/atomic-result-section-excerpt.ts"
44102
- }
44103
- }
44104
- ]
44105
- },
44106
44197
  {
44107
44198
  "kind": "javascript-module",
44108
44199
  "path": "src/components/search/atomic-search-box-instant-results/atomic-search-box-instant-results.ts",
@@ -44896,9 +44987,22 @@
44896
44987
  "privacy": "public",
44897
44988
  "default": "true",
44898
44989
  "description": "Whether analytics should be enabled.",
44990
+ "deprecated": "- Use `disable-analytics` instead (this defaults to `true`, while the replacement defaults to `false`).",
44899
44991
  "attribute": "analytics",
44900
44992
  "reflects": true
44901
44993
  },
44994
+ {
44995
+ "kind": "field",
44996
+ "name": "disableAnalytics",
44997
+ "type": {
44998
+ "text": "boolean"
44999
+ },
45000
+ "privacy": "public",
45001
+ "default": "false",
45002
+ "description": "Whether to disable analytics.",
45003
+ "attribute": "disable-analytics",
45004
+ "reflects": true
45005
+ },
44902
45006
  {
44903
45007
  "kind": "field",
44904
45008
  "name": "timezone",
@@ -45072,7 +45176,7 @@
45072
45176
  }
45073
45177
  }
45074
45178
  ],
45075
- "description": "Initializes the interface using the provided [headless search engine](https://docs.coveo.com/en/headless/latest/reference/modules/Search.html, as opposed to the `initialize` method which internally builds a search engine instance.\nThis bypasses the properties set on the component, such as analytics, searchHub, pipeline, language, timezone, and logLevel."
45179
+ "description": "Initializes the interface using the provided [headless search engine](https://docs.coveo.com/en/headless/latest/reference/modules/Search.html, as opposed to the `initialize` method which internally builds a search engine instance.\nThis bypasses the properties set on the component, such as disableAnalytics, searchHub, pipeline, language, timezone, and logLevel."
45076
45180
  },
45077
45181
  {
45078
45182
  "kind": "method",
@@ -45271,8 +45375,18 @@
45271
45375
  },
45272
45376
  "default": "true",
45273
45377
  "description": "Whether analytics should be enabled.",
45378
+ "deprecated": "- Use `disable-analytics` instead (this defaults to `true`, while the replacement defaults to `false`).",
45274
45379
  "fieldName": "analytics"
45275
45380
  },
45381
+ {
45382
+ "name": "disable-analytics",
45383
+ "type": {
45384
+ "text": "boolean"
45385
+ },
45386
+ "default": "false",
45387
+ "description": "Whether to disable analytics.",
45388
+ "fieldName": "disableAnalytics"
45389
+ },
45276
45390
  {
45277
45391
  "name": "timezone",
45278
45392
  "type": {
@@ -48975,73 +49089,73 @@
48975
49089
  },
48976
49090
  {
48977
49091
  "kind": "javascript-module",
48978
- "path": "src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts",
49092
+ "path": "src/components/commerce/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts",
48979
49093
  "declarations": [],
48980
49094
  "exports": []
48981
49095
  },
48982
49096
  {
48983
49097
  "kind": "javascript-module",
48984
- "path": "src/components/commerce/atomic-commerce-search-box/e2e/fixture.ts",
49098
+ "path": "src/components/commerce/atomic-commerce-search-box-instant-products/e2e/fixture.ts",
48985
49099
  "declarations": [],
48986
49100
  "exports": []
48987
49101
  },
48988
49102
  {
48989
49103
  "kind": "javascript-module",
48990
- "path": "src/components/commerce/atomic-commerce-search-box/e2e/page-object.ts",
49104
+ "path": "src/components/commerce/atomic-commerce-search-box-instant-products/e2e/page-object.ts",
48991
49105
  "declarations": [],
48992
49106
  "exports": []
48993
49107
  },
48994
49108
  {
48995
49109
  "kind": "javascript-module",
48996
- "path": "src/components/commerce/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts",
49110
+ "path": "src/components/commerce/atomic-commerce-search-box-query-suggestions/e2e/atomic-commerce-search-box-query-suggestions.e2e.ts",
48997
49111
  "declarations": [],
48998
49112
  "exports": []
48999
49113
  },
49000
49114
  {
49001
49115
  "kind": "javascript-module",
49002
- "path": "src/components/commerce/atomic-commerce-search-box-instant-products/e2e/fixture.ts",
49116
+ "path": "src/components/commerce/atomic-commerce-search-box-query-suggestions/e2e/fixture.ts",
49003
49117
  "declarations": [],
49004
49118
  "exports": []
49005
49119
  },
49006
49120
  {
49007
49121
  "kind": "javascript-module",
49008
- "path": "src/components/commerce/atomic-commerce-search-box-instant-products/e2e/page-object.ts",
49122
+ "path": "src/components/commerce/atomic-commerce-search-box-query-suggestions/e2e/page-object.ts",
49009
49123
  "declarations": [],
49010
49124
  "exports": []
49011
49125
  },
49012
49126
  {
49013
49127
  "kind": "javascript-module",
49014
- "path": "src/components/commerce/atomic-commerce-search-box-query-suggestions/e2e/atomic-commerce-search-box-query-suggestions.e2e.ts",
49128
+ "path": "src/components/commerce/atomic-commerce-search-box-recent-queries/e2e/atomic-commerce-search-box-recent-queries.e2e.ts",
49015
49129
  "declarations": [],
49016
49130
  "exports": []
49017
49131
  },
49018
49132
  {
49019
49133
  "kind": "javascript-module",
49020
- "path": "src/components/commerce/atomic-commerce-search-box-query-suggestions/e2e/fixture.ts",
49134
+ "path": "src/components/commerce/atomic-commerce-search-box-recent-queries/e2e/fixture.ts",
49021
49135
  "declarations": [],
49022
49136
  "exports": []
49023
49137
  },
49024
49138
  {
49025
49139
  "kind": "javascript-module",
49026
- "path": "src/components/commerce/atomic-commerce-search-box-query-suggestions/e2e/page-object.ts",
49140
+ "path": "src/components/commerce/atomic-commerce-search-box-recent-queries/e2e/page-object.ts",
49027
49141
  "declarations": [],
49028
49142
  "exports": []
49029
49143
  },
49030
49144
  {
49031
49145
  "kind": "javascript-module",
49032
- "path": "src/components/commerce/atomic-commerce-search-box-recent-queries/e2e/atomic-commerce-search-box-recent-queries.e2e.ts",
49146
+ "path": "src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts",
49033
49147
  "declarations": [],
49034
49148
  "exports": []
49035
49149
  },
49036
49150
  {
49037
49151
  "kind": "javascript-module",
49038
- "path": "src/components/commerce/atomic-commerce-search-box-recent-queries/e2e/fixture.ts",
49152
+ "path": "src/components/commerce/atomic-commerce-search-box/e2e/fixture.ts",
49039
49153
  "declarations": [],
49040
49154
  "exports": []
49041
49155
  },
49042
49156
  {
49043
49157
  "kind": "javascript-module",
49044
- "path": "src/components/commerce/atomic-commerce-search-box-recent-queries/e2e/page-object.ts",
49158
+ "path": "src/components/commerce/atomic-commerce-search-box/e2e/page-object.ts",
49045
49159
  "declarations": [],
49046
49160
  "exports": []
49047
49161
  },
@@ -51108,24 +51222,6 @@
51108
51222
  "declarations": [],
51109
51223
  "exports": []
51110
51224
  },
51111
- {
51112
- "kind": "javascript-module",
51113
- "path": "src/components/search/atomic-result-image/e2e/atomic-result-image.e2e.ts",
51114
- "declarations": [],
51115
- "exports": []
51116
- },
51117
- {
51118
- "kind": "javascript-module",
51119
- "path": "src/components/search/atomic-result-image/e2e/fixture.ts",
51120
- "declarations": [],
51121
- "exports": []
51122
- },
51123
- {
51124
- "kind": "javascript-module",
51125
- "path": "src/components/search/atomic-result-image/e2e/page-object.ts",
51126
- "declarations": [],
51127
- "exports": []
51128
- },
51129
51225
  {
51130
51226
  "kind": "javascript-module",
51131
51227
  "path": "src/components/search/atomic-result-link/e2e/atomic-result-link.e2e.ts",
@@ -51236,55 +51332,55 @@
51236
51332
  },
51237
51333
  {
51238
51334
  "kind": "javascript-module",
51239
- "path": "src/components/search/atomic-result-template/e2e/atomic-result-template.e2e.ts",
51335
+ "path": "src/components/search/atomic-result-text/e2e/atomic-result-text.e2e.ts",
51240
51336
  "declarations": [],
51241
51337
  "exports": []
51242
51338
  },
51243
51339
  {
51244
51340
  "kind": "javascript-module",
51245
- "path": "src/components/search/atomic-result-template/e2e/fixture.ts",
51341
+ "path": "src/components/search/atomic-result-text/e2e/fixture.ts",
51246
51342
  "declarations": [],
51247
51343
  "exports": []
51248
51344
  },
51249
51345
  {
51250
51346
  "kind": "javascript-module",
51251
- "path": "src/components/search/atomic-result-template/e2e/page-object.ts",
51347
+ "path": "src/components/search/atomic-result-text/e2e/page-object.ts",
51252
51348
  "declarations": [],
51253
51349
  "exports": []
51254
51350
  },
51255
51351
  {
51256
51352
  "kind": "javascript-module",
51257
- "path": "src/components/search/atomic-result-text/e2e/atomic-result-text.e2e.ts",
51353
+ "path": "src/components/search/atomic-result-timespan/e2e/atomic-result-timespan.e2e.ts",
51258
51354
  "declarations": [],
51259
51355
  "exports": []
51260
51356
  },
51261
51357
  {
51262
51358
  "kind": "javascript-module",
51263
- "path": "src/components/search/atomic-result-text/e2e/fixture.ts",
51359
+ "path": "src/components/search/atomic-result-timespan/e2e/fixture.ts",
51264
51360
  "declarations": [],
51265
51361
  "exports": []
51266
51362
  },
51267
51363
  {
51268
51364
  "kind": "javascript-module",
51269
- "path": "src/components/search/atomic-result-text/e2e/page-object.ts",
51365
+ "path": "src/components/search/atomic-result-timespan/e2e/page-object.ts",
51270
51366
  "declarations": [],
51271
51367
  "exports": []
51272
51368
  },
51273
51369
  {
51274
51370
  "kind": "javascript-module",
51275
- "path": "src/components/search/atomic-result-timespan/e2e/atomic-result-timespan.e2e.ts",
51371
+ "path": "src/components/search/atomic-result-template/e2e/atomic-result-template.e2e.ts",
51276
51372
  "declarations": [],
51277
51373
  "exports": []
51278
51374
  },
51279
51375
  {
51280
51376
  "kind": "javascript-module",
51281
- "path": "src/components/search/atomic-result-timespan/e2e/fixture.ts",
51377
+ "path": "src/components/search/atomic-result-template/e2e/fixture.ts",
51282
51378
  "declarations": [],
51283
51379
  "exports": []
51284
51380
  },
51285
51381
  {
51286
51382
  "kind": "javascript-module",
51287
- "path": "src/components/search/atomic-result-timespan/e2e/page-object.ts",
51383
+ "path": "src/components/search/atomic-result-template/e2e/page-object.ts",
51288
51384
  "declarations": [],
51289
51385
  "exports": []
51290
51386
  },
@@ -51306,6 +51402,24 @@
51306
51402
  "declarations": [],
51307
51403
  "exports": []
51308
51404
  },
51405
+ {
51406
+ "kind": "javascript-module",
51407
+ "path": "src/components/search/atomic-result-image/e2e/atomic-result-image.e2e.ts",
51408
+ "declarations": [],
51409
+ "exports": []
51410
+ },
51411
+ {
51412
+ "kind": "javascript-module",
51413
+ "path": "src/components/search/atomic-result-image/e2e/fixture.ts",
51414
+ "declarations": [],
51415
+ "exports": []
51416
+ },
51417
+ {
51418
+ "kind": "javascript-module",
51419
+ "path": "src/components/search/atomic-result-image/e2e/page-object.ts",
51420
+ "declarations": [],
51421
+ "exports": []
51422
+ },
51309
51423
  {
51310
51424
  "kind": "javascript-module",
51311
51425
  "path": "src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts",