@coveo/atomic 3.48.0 → 3.49.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 (265) hide show
  1. package/custom-elements.json +1361 -332
  2. package/dist/atomic/_atomic.esm.js +1 -1
  3. package/dist/atomic/atomic.esm.js.map +1 -1
  4. package/dist/atomic/components/_index.d.ts +0 -6
  5. package/dist/atomic/components/_index.js +1 -4
  6. package/dist/atomic/components/atomic-insight-generated-answer.js +16 -5
  7. package/dist/atomic/components/atomic-insight-generated-answer.js.map +1 -1
  8. package/dist/atomic/components/atomic-insight-result-action.js +2 -2
  9. package/dist/atomic/components/atomic-insight-result-action.js.map +1 -1
  10. package/dist/atomic/components/atomic-insight-result-attach-to-case-action.js +2 -2
  11. package/dist/atomic/components/atomic-insight-result-attach-to-case-action.js.map +1 -1
  12. package/dist/atomic/components/atomic-insight-result-children-template.js +2 -2
  13. package/dist/atomic/components/atomic-insight-result-children-template.js.map +1 -1
  14. package/dist/atomic/components/atomic-insight-timeframe-facet.js +7 -6
  15. package/dist/atomic/components/atomic-insight-timeframe-facet.js.map +1 -1
  16. package/dist/atomic/components/atomic-ipx-recs-list.js +323 -10
  17. package/dist/atomic/components/atomic-ipx-recs-list.js.map +1 -1
  18. package/dist/atomic/components/atomic-ipx-refine-modal2.js +3 -3
  19. package/dist/atomic/components/atomic-ipx-refine-modal2.js.map +1 -1
  20. package/dist/atomic/components/atomic-ipx-refine-toggle.js +2 -2
  21. package/dist/atomic/components/atomic-ipx-refine-toggle.js.map +1 -1
  22. package/dist/atomic/components/attach.js +1 -1
  23. package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +3 -3
  24. package/dist/atomic/components/components/insight/atomic-insight-folded-result-list/atomic-insight-folded-result-list.js +309 -0
  25. package/dist/atomic/components/components/insight/atomic-insight-result-children/atomic-insight-result-children.js +3 -3
  26. package/dist/atomic/components/components/insight/atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.js +198 -0
  27. package/dist/atomic/components/components/insight/atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.tw.css.js +3 -0
  28. package/dist/atomic/components/components/insight/index.js +2 -0
  29. package/dist/atomic/components/components/insight/lazy-index.js +2 -0
  30. package/dist/atomic/components/components/recommendations/atomic-recs-list/atomic-recs-list.js +437 -0
  31. package/dist/atomic/components/components/recommendations/index.js +1 -0
  32. package/dist/atomic/components/components/recommendations/lazy-index.js +1 -0
  33. package/dist/atomic/components/components/search/atomic-generated-answer/atomic-generated-answer.js +6 -0
  34. package/dist/atomic/components/components/search/atomic-search-box/atomic-search-box.js +3 -3
  35. package/dist/atomic/components/global/environment.js +1 -1
  36. package/dist/atomic/components/index.js.map +1 -1
  37. package/dist/atomic/components/initialization-utils.js +1 -1
  38. package/dist/atomic/components/popover-type.js +1 -1
  39. package/dist/atomic/components/stencil-button.js +22 -2
  40. package/dist/atomic/components/stencil-button.js.map +1 -1
  41. package/dist/atomic/components/stencil-heading.js +157 -1
  42. package/dist/atomic/components/stencil-heading.js.map +1 -1
  43. package/dist/atomic/components/store.js +0 -2
  44. package/dist/atomic/components/store.js.map +1 -1
  45. package/dist/atomic/components/utils/custom-element-tags.js +3 -0
  46. package/dist/atomic/components/utils/tailwind.global.tw.css.js +3 -3
  47. package/dist/atomic/components/utils.js +1360 -2
  48. package/dist/atomic/components/utils.js.map +1 -1
  49. package/dist/atomic/lang/cs.json +1 -1
  50. package/dist/atomic/lang/da.json +1 -1
  51. package/dist/atomic/lang/de.json +1 -1
  52. package/dist/atomic/lang/dev.json +1 -1
  53. package/dist/atomic/lang/el.json +1 -1
  54. package/dist/atomic/lang/en.json +1 -1
  55. package/dist/atomic/lang/es.json +1 -1
  56. package/dist/atomic/lang/fi.json +1 -1
  57. package/dist/atomic/lang/fr.json +1 -1
  58. package/dist/atomic/lang/hu.json +1 -1
  59. package/dist/atomic/lang/id.json +1 -1
  60. package/dist/atomic/lang/it.json +1 -1
  61. package/dist/atomic/lang/ja.json +1 -1
  62. package/dist/atomic/lang/ko.json +1 -1
  63. package/dist/atomic/lang/nl.json +1 -1
  64. package/dist/atomic/lang/no.json +1 -1
  65. package/dist/atomic/lang/pl.json +1 -1
  66. package/dist/atomic/lang/pt-BR.json +1 -1
  67. package/dist/atomic/lang/pt.json +1 -1
  68. package/dist/atomic/lang/ru.json +1 -1
  69. package/dist/atomic/lang/sv.json +1 -1
  70. package/dist/atomic/lang/th.json +1 -1
  71. package/dist/atomic/lang/tr.json +1 -1
  72. package/dist/atomic/lang/zh-CN.json +1 -1
  73. package/dist/atomic/lang/zh-TW.json +1 -1
  74. package/dist/atomic/lang/zh.json +1 -1
  75. package/dist/atomic/p-2c08a419.entry.js +2 -0
  76. package/dist/atomic/{p-026a51a7.entry.js.map → p-2c08a419.entry.js.map} +1 -1
  77. package/dist/atomic/p-4117289b.entry.js +2 -0
  78. package/dist/atomic/{p-77250a6b.entry.js.map → p-4117289b.entry.js.map} +1 -1
  79. package/dist/atomic/p-4a32511f.js +1 -1
  80. package/dist/atomic/p-52d14165.entry.js +2 -0
  81. package/dist/atomic/p-52d14165.entry.js.map +1 -0
  82. package/dist/atomic/p-64f83898.entry.js +2 -0
  83. package/dist/atomic/{p-15074eb9.entry.js.map → p-64f83898.entry.js.map} +1 -1
  84. package/dist/atomic/{p-c0fbee64.js → p-9c5ec170.js} +2 -2
  85. package/dist/atomic/p-9dfe5ab1.js +2 -0
  86. package/dist/atomic/p-9dfe5ab1.js.map +1 -0
  87. package/dist/atomic/{p-3df103c1.js → p-b09433bb.js} +2 -2
  88. package/dist/atomic/p-b09433bb.js.map +1 -0
  89. package/dist/atomic/p-c8452548.entry.js +2 -0
  90. package/dist/atomic/{p-3bb48254.entry.js.map → p-c8452548.entry.js.map} +1 -1
  91. package/dist/atomic/p-c95ac794.entry.js +2 -0
  92. package/dist/atomic/{p-40e4e762.entry.js.map → p-c95ac794.entry.js.map} +1 -1
  93. package/dist/atomic/p-d8230482.entry.js +9 -0
  94. package/dist/atomic/{p-5ec9bf71.entry.js.map → p-d8230482.entry.js.map} +1 -1
  95. package/dist/atomic/p-e94ba0e1.entry.js +2 -0
  96. package/dist/atomic/p-e94ba0e1.entry.js.map +1 -0
  97. package/dist/atomic/p-f321aab0.js +2 -0
  98. package/dist/atomic/{p-141bf64c.js.map → p-f321aab0.js.map} +1 -1
  99. package/dist/cjs/_loader.cjs.js +1 -1
  100. package/dist/cjs/atomic-insight-generated-answer.cjs.entry.js +19 -9
  101. package/dist/cjs/atomic-insight-generated-answer.cjs.entry.js.map +1 -1
  102. package/dist/cjs/atomic-insight-result-action.cjs.entry.js +1 -1
  103. package/dist/cjs/atomic-insight-result-action.cjs.entry.js.map +1 -1
  104. package/dist/cjs/atomic-insight-result-attach-to-case-action.cjs.entry.js +1 -1
  105. package/dist/cjs/atomic-insight-result-attach-to-case-action.cjs.entry.js.map +1 -1
  106. package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js +4 -5
  107. package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js.map +1 -1
  108. package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js +10 -10
  109. package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js.map +1 -1
  110. package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js +328 -18
  111. package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js.map +1 -1
  112. package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js +3 -5
  113. package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js.map +1 -1
  114. package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js +2 -2
  115. package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js.map +1 -1
  116. package/dist/cjs/atomic.cjs.js +1 -1
  117. package/dist/cjs/index-3532822e.js +0 -12
  118. package/dist/cjs/{props-utils-4a99eda6.js → props-utils-bc5feb04.js} +2 -2
  119. package/dist/cjs/{props-utils-4a99eda6.js.map → props-utils-bc5feb04.js.map} +1 -1
  120. package/dist/cjs/{stencil-accessibility-utils-e64abd7b.js → stencil-heading-ecec9ab3.js} +12 -2
  121. package/dist/cjs/stencil-heading-ecec9ab3.js.map +1 -0
  122. package/dist/cjs/{store-9d4daf92.js → store-70fff5e6.js} +1 -3
  123. package/dist/cjs/store-70fff5e6.js.map +1 -0
  124. package/dist/cjs/{purify-d8fb6acd.js → utils-e845f262.js} +67 -1
  125. package/dist/cjs/utils-e845f262.js.map +1 -0
  126. package/dist/cjs/version.cjs.js +2 -2
  127. package/dist/esm/_loader.js +1 -1
  128. package/dist/esm/atomic-insight-generated-answer.entry.js +16 -6
  129. package/dist/esm/atomic-insight-generated-answer.entry.js.map +1 -1
  130. package/dist/esm/atomic-insight-result-action.entry.js +1 -1
  131. package/dist/esm/atomic-insight-result-action.entry.js.map +1 -1
  132. package/dist/esm/atomic-insight-result-attach-to-case-action.entry.js +1 -1
  133. package/dist/esm/atomic-insight-result-attach-to-case-action.entry.js.map +1 -1
  134. package/dist/esm/atomic-insight-result-children-template.entry.js +4 -5
  135. package/dist/esm/atomic-insight-result-children-template.entry.js.map +1 -1
  136. package/dist/esm/atomic-insight-timeframe-facet.entry.js +9 -9
  137. package/dist/esm/atomic-insight-timeframe-facet.entry.js.map +1 -1
  138. package/dist/esm/atomic-ipx-recs-list.entry.js +324 -14
  139. package/dist/esm/atomic-ipx-recs-list.entry.js.map +1 -1
  140. package/dist/esm/atomic-ipx-refine-modal.entry.js +4 -6
  141. package/dist/esm/atomic-ipx-refine-modal.entry.js.map +1 -1
  142. package/dist/esm/atomic-ipx-refine-toggle.entry.js +2 -2
  143. package/dist/esm/atomic-ipx-refine-toggle.entry.js.map +1 -1
  144. package/dist/esm/atomic.js +1 -1
  145. package/dist/esm/index-3eb0b28e.js +0 -12
  146. package/dist/esm/initialization-utils-82d28c63.js +1 -1
  147. package/dist/esm/{props-utils-e322e9dd.js → props-utils-d343133b.js} +2 -2
  148. package/dist/esm/{props-utils-e322e9dd.js.map → props-utils-d343133b.js.map} +1 -1
  149. package/dist/esm/{stencil-accessibility-utils-69ea92b0.js → stencil-heading-98a5f23f.js} +12 -3
  150. package/dist/{atomic/p-b3524b97.js.map → esm/stencil-heading-98a5f23f.js.map} +1 -1
  151. package/dist/esm/{store-3bc9050f.js → store-50d170c8.js} +1 -3
  152. package/dist/esm/store-50d170c8.js.map +1 -0
  153. package/dist/esm/{purify-985ba52e.js → utils-b5bab369.js} +60 -2
  154. package/dist/esm/utils-b5bab369.js.map +1 -0
  155. package/dist/esm/version.js +2 -2
  156. package/dist/types/components/common/generated-answer/render-follow-up-input.d.ts +17 -0
  157. package/dist/types/components/insight/atomic-insight-folded-result-list/atomic-insight-folded-result-list.d.ts +99 -0
  158. package/dist/types/components/insight/atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.d.ts +83 -0
  159. package/dist/types/components/insight/atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.tw.css.d.ts +2 -0
  160. package/dist/types/components/insight/index.d.ts +2 -0
  161. package/dist/types/components/recommendations/atomic-recs-list/atomic-recs-list.d.ts +40 -23
  162. package/dist/types/components/recommendations/index.d.ts +1 -0
  163. package/dist/types/components/search/atomic-generated-answer/atomic-generated-answer.d.ts +5 -0
  164. package/dist/types/components.d.ts +4 -198
  165. package/docs/atomic-docs.json +17 -434
  166. package/package.json +9 -4
  167. package/dist/atomic/components/arrow-right.js +0 -8
  168. package/dist/atomic/components/arrow-right.js.map +0 -1
  169. package/dist/atomic/components/atomic-insight-folded-result-list.d.ts +0 -11
  170. package/dist/atomic/components/atomic-insight-folded-result-list.js +0 -213
  171. package/dist/atomic/components/atomic-insight-folded-result-list.js.map +0 -1
  172. package/dist/atomic/components/atomic-insight-smart-snippet-suggestions.d.ts +0 -11
  173. package/dist/atomic/components/atomic-insight-smart-snippet-suggestions.js +0 -175
  174. package/dist/atomic/components/atomic-insight-smart-snippet-suggestions.js.map +0 -1
  175. package/dist/atomic/components/atomic-recs-list.d.ts +0 -11
  176. package/dist/atomic/components/atomic-recs-list.js +0 -304
  177. package/dist/atomic/components/atomic-recs-list.js.map +0 -1
  178. package/dist/atomic/components/display-options.js +0 -277
  179. package/dist/atomic/components/display-options.js.map +0 -1
  180. package/dist/atomic/components/event-utils.js +0 -24
  181. package/dist/atomic/components/event-utils.js.map +0 -1
  182. package/dist/atomic/components/purify.js +0 -1363
  183. package/dist/atomic/components/purify.js.map +0 -1
  184. package/dist/atomic/components/slot-utils.js +0 -16
  185. package/dist/atomic/components/slot-utils.js.map +0 -1
  186. package/dist/atomic/components/stencil-accessibility-utils.js +0 -160
  187. package/dist/atomic/components/stencil-accessibility-utils.js.map +0 -1
  188. package/dist/atomic/components/stencil-carousel.js +0 -50
  189. package/dist/atomic/components/stencil-carousel.js.map +0 -1
  190. package/dist/atomic/p-026a51a7.entry.js +0 -2
  191. package/dist/atomic/p-09ff88b4.entry.js +0 -2
  192. package/dist/atomic/p-09ff88b4.entry.js.map +0 -1
  193. package/dist/atomic/p-0c4a4e30.js +0 -2
  194. package/dist/atomic/p-0c4a4e30.js.map +0 -1
  195. package/dist/atomic/p-141bf64c.js +0 -2
  196. package/dist/atomic/p-15074eb9.entry.js +0 -2
  197. package/dist/atomic/p-3bb48254.entry.js +0 -2
  198. package/dist/atomic/p-3df103c1.js.map +0 -1
  199. package/dist/atomic/p-40e4e762.entry.js +0 -2
  200. package/dist/atomic/p-4cab9607.js +0 -2
  201. package/dist/atomic/p-4cab9607.js.map +0 -1
  202. package/dist/atomic/p-5ec9bf71.entry.js +0 -9
  203. package/dist/atomic/p-77250a6b.entry.js +0 -2
  204. package/dist/atomic/p-78be3137.js +0 -2
  205. package/dist/atomic/p-78be3137.js.map +0 -1
  206. package/dist/atomic/p-994b3e51.entry.js +0 -2
  207. package/dist/atomic/p-994b3e51.entry.js.map +0 -1
  208. package/dist/atomic/p-b3524b97.js +0 -2
  209. package/dist/atomic/p-cc6320d9.entry.js +0 -2
  210. package/dist/atomic/p-cc6320d9.entry.js.map +0 -1
  211. package/dist/atomic/p-cfa9c12b.js +0 -2
  212. package/dist/atomic/p-cfa9c12b.js.map +0 -1
  213. package/dist/atomic/p-d189f1a5.js +0 -2
  214. package/dist/atomic/p-d189f1a5.js.map +0 -1
  215. package/dist/atomic/p-e58840b6.js +0 -2
  216. package/dist/atomic/p-e58840b6.js.map +0 -1
  217. package/dist/atomic/p-f24c22bb.entry.js +0 -2
  218. package/dist/atomic/p-f24c22bb.entry.js.map +0 -1
  219. package/dist/atomic/p-f2906e7c.entry.js +0 -2
  220. package/dist/atomic/p-f2906e7c.entry.js.map +0 -1
  221. package/dist/cjs/arrow-right-a3be291c.js +0 -10
  222. package/dist/cjs/arrow-right-a3be291c.js.map +0 -1
  223. package/dist/cjs/atomic-insight-folded-result-list.cjs.entry.js +0 -191
  224. package/dist/cjs/atomic-insight-folded-result-list.cjs.entry.js.map +0 -1
  225. package/dist/cjs/atomic-insight-smart-snippet-suggestions.cjs.entry.js +0 -161
  226. package/dist/cjs/atomic-insight-smart-snippet-suggestions.cjs.entry.js.map +0 -1
  227. package/dist/cjs/atomic-recs-list.cjs.entry.js +0 -277
  228. package/dist/cjs/atomic-recs-list.cjs.entry.js.map +0 -1
  229. package/dist/cjs/display-options-24763cf8.js +0 -284
  230. package/dist/cjs/display-options-24763cf8.js.map +0 -1
  231. package/dist/cjs/purify-d8fb6acd.js.map +0 -1
  232. package/dist/cjs/slot-utils-987a7dd6.js +0 -18
  233. package/dist/cjs/slot-utils-987a7dd6.js.map +0 -1
  234. package/dist/cjs/stencil-accessibility-utils-e64abd7b.js.map +0 -1
  235. package/dist/cjs/stencil-carousel-ba8e11b5.js +0 -53
  236. package/dist/cjs/stencil-carousel-ba8e11b5.js.map +0 -1
  237. package/dist/cjs/stencil-heading-e2df37e4.js +0 -15
  238. package/dist/cjs/stencil-heading-e2df37e4.js.map +0 -1
  239. package/dist/cjs/store-9d4daf92.js.map +0 -1
  240. package/dist/cjs/utils-2a022008.js +0 -72
  241. package/dist/cjs/utils-2a022008.js.map +0 -1
  242. package/dist/esm/arrow-right-cb365b01.js +0 -8
  243. package/dist/esm/arrow-right-cb365b01.js.map +0 -1
  244. package/dist/esm/atomic-insight-folded-result-list.entry.js +0 -187
  245. package/dist/esm/atomic-insight-folded-result-list.entry.js.map +0 -1
  246. package/dist/esm/atomic-insight-smart-snippet-suggestions.entry.js +0 -157
  247. package/dist/esm/atomic-insight-smart-snippet-suggestions.entry.js.map +0 -1
  248. package/dist/esm/atomic-recs-list.entry.js +0 -273
  249. package/dist/esm/atomic-recs-list.entry.js.map +0 -1
  250. package/dist/esm/display-options-d03040a8.js +0 -277
  251. package/dist/esm/display-options-d03040a8.js.map +0 -1
  252. package/dist/esm/purify-985ba52e.js.map +0 -1
  253. package/dist/esm/slot-utils-df87a95a.js +0 -16
  254. package/dist/esm/slot-utils-df87a95a.js.map +0 -1
  255. package/dist/esm/stencil-accessibility-utils-69ea92b0.js.map +0 -1
  256. package/dist/esm/stencil-carousel-eac65a6c.js +0 -50
  257. package/dist/esm/stencil-carousel-eac65a6c.js.map +0 -1
  258. package/dist/esm/stencil-heading-adb44de7.js +0 -13
  259. package/dist/esm/stencil-heading-adb44de7.js.map +0 -1
  260. package/dist/esm/store-3bc9050f.js.map +0 -1
  261. package/dist/esm/utils-6771fbc6.js +0 -63
  262. package/dist/esm/utils-6771fbc6.js.map +0 -1
  263. package/dist/types/components/insight/result-lists/atomic-insight-folded-result-list/atomic-insight-folded-result-list.d.ts +0 -68
  264. package/dist/types/components/insight/smart-snippets/atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.d.ts +0 -38
  265. /package/dist/atomic/{p-c0fbee64.js.map → p-9c5ec170.js.map} +0 -0
@@ -0,0 +1,83 @@
1
+ import type { SmartSnippetQuestionsList, SmartSnippetQuestionsListState } from '@coveo/headless/insight';
2
+ import { type CSSResultGroup, LitElement } from 'lit';
3
+ import type { InsightBindings } from "../atomic-insight-interface/atomic-insight-interface";
4
+ import type { InitializableComponent } from "../../../decorators/types";
5
+ import "../../common/atomic-icon/atomic-icon";
6
+ import "../../common/atomic-smart-snippet-source/atomic-smart-snippet-source";
7
+ import "../../common/atomic-smart-snippet-answer/atomic-smart-snippet-answer";
8
+ /**
9
+ * The `atomic-insight-smart-snippet-suggestions` component displays an accordion of questions related to the query with their corresponding answers.
10
+ *
11
+ * You can style the snippets either with the `snippetStyle` prop, or by inserting a template element like this:
12
+ * ```html
13
+ * <atomic-insight-smart-snippet-suggestions>
14
+ * <template>
15
+ * <style>
16
+ * b {
17
+ * color: blue;
18
+ * }
19
+ * </style>
20
+ * </template>
21
+ * </atomic-insight-smart-snippet-suggestions>
22
+ * ```
23
+ *
24
+ * @slot source-anchor-attributes - Lets you pass [attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attributes) down to anchor elements, overriding other attributes.
25
+ * To be used exclusively in anchor elements, such as: `<a slot="source-anchor-attributes" target="_blank"></a>`.
26
+ *
27
+ * @part container - The wrapper with a border around the entire component.
28
+ * @part heading - The heading above the list of related questions.
29
+ * @part questions - The list of related questions.
30
+ * @part question-answer-expanded - An expanded related question.
31
+ * @part question-answer-collapsed - A collapsed related question.
32
+ * @part question-button-expanded - The button to collapse a related question.
33
+ * @part question-button-collapsed - The button to expand a related question.
34
+ * @part question-icon-expanded - The caret of an expanded related question.
35
+ * @part question-icon-collapsed - The caret of a collapsed related question.
36
+ * @part question-text-expanded - The title of an expanded related question.
37
+ * @part question-text-collapsed - The title of a collapsed related question.
38
+ * @part answer-and-source - The wrapper around the answer and source of a related question.
39
+ * @part answer - The container displaying the full document excerpt of a related question's answer.
40
+ * @part footer - The wrapper around the source of a related question's answer.
41
+ * @part source-url - The URL to the document a related question's answer is extracted from.
42
+ * @part source-title - The title of the document a related question's answer is extracted from.
43
+ */
44
+ export declare class AtomicInsightSmartSnippetSuggestions extends LitElement implements InitializableComponent<InsightBindings> {
45
+ private static readonly propsSchema;
46
+ static styles: CSSResultGroup;
47
+ bindings: InsightBindings;
48
+ error: Error;
49
+ smartSnippetQuestionsListState: SmartSnippetQuestionsListState;
50
+ smartSnippetQuestionsList: SmartSnippetQuestionsList;
51
+ /**
52
+ * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the "People also ask" heading over the snippets, from 1 to 5.
53
+ */
54
+ headingLevel: number;
55
+ /**
56
+ * Sets the style of the snippets.
57
+ *
58
+ * Example:
59
+ * ```ts
60
+ * smartSnippet.snippetStyle = `
61
+ * b {
62
+ * color: blue;
63
+ * }
64
+ * `;
65
+ * ```
66
+ */
67
+ snippetStyle?: string;
68
+ private accordionId;
69
+ constructor();
70
+ initialize(): void;
71
+ render(): import("lit-html").TemplateResult<1>;
72
+ private renderRelatedQuestion;
73
+ private renderQuestionButton;
74
+ private renderAnswer;
75
+ private renderSource;
76
+ private get computedSnippetStyle();
77
+ private toggleQuestion;
78
+ }
79
+ declare global {
80
+ interface HTMLElementTagNameMap {
81
+ 'atomic-insight-smart-snippet-suggestions': AtomicInsightSmartSnippetSuggestions;
82
+ }
83
+ }
@@ -0,0 +1,2 @@
1
+ declare const styles: import("lit").CSSResult;
2
+ export default styles;
@@ -1,5 +1,6 @@
1
1
  export { AtomicInsightEditToggle } from './atomic-insight-edit-toggle/atomic-insight-edit-toggle.js';
2
2
  export { AtomicInsightFacet } from './atomic-insight-facet/atomic-insight-facet.js';
3
+ export { AtomicInsightFoldedResultList } from './atomic-insight-folded-result-list/atomic-insight-folded-result-list.js';
3
4
  export { AtomicInsightFullSearchButton } from './atomic-insight-full-search-button/atomic-insight-full-search-button.js';
4
5
  export { AtomicInsightGenerateAnswerButton } from './atomic-insight-generate-answer-button/atomic-insight-generate-answer-button.js';
5
6
  export { AtomicInsightHistoryToggle } from './atomic-insight-history-toggle/atomic-insight-history-toggle.js';
@@ -22,6 +23,7 @@ export { AtomicInsightResultTemplate } from './atomic-insight-result-template/at
22
23
  export { AtomicInsightSearchBox } from './atomic-insight-search-box/atomic-insight-search-box.js';
23
24
  export { AtomicInsightSmartSnippet } from './atomic-insight-smart-snippet/atomic-insight-smart-snippet.js';
24
25
  export { AtomicInsightSmartSnippetFeedbackModal } from './atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.js';
26
+ export { AtomicInsightSmartSnippetSuggestions } from './atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.js';
25
27
  export { AtomicInsightTab } from './atomic-insight-tab/atomic-insight-tab.js';
26
28
  export { AtomicInsightTabs } from './atomic-insight-tabs/atomic-insight-tabs.js';
27
29
  export { AtomicInsightUserActionsModal } from './atomic-insight-user-actions-modal/atomic-insight-user-actions-modal.js';
@@ -1,12 +1,15 @@
1
- import { RecommendationList, RecommendationListState } from '@coveo/headless/recommendation';
2
- import { InitializableComponent } from '../../../utils/initialization-utils';
3
- import { FocusTargetController } from '../../../utils/stencil-accessibility-utils';
4
- import { ItemRenderingFunction } from '../../common/item-list/stencil-item-list-common';
5
- import { ItemDisplayDensity, ItemDisplayImageSize, ItemDisplayBasicLayout } from '../../common/layout/display-options';
6
- import { RecsBindings } from '../atomic-recs-interface/atomic-recs-interface';
1
+ import { type RecommendationList } from '@coveo/headless/recommendation';
2
+ import { type CSSResultGroup, LitElement, nothing } from 'lit';
3
+ import { type ItemRenderingFunction } from "../../common/item-list/item-list-common";
4
+ import { type ItemDisplayBasicLayout, type ItemDisplayDensity, type ItemDisplayImageSize } from "../../common/layout/item-layout-utils";
5
+ import type { RecsBindings } from "../atomic-recs-interface/atomic-recs-interface";
6
+ import type { InitializableComponent } from "../../../decorators/types";
7
+ import '../atomic-recs-result/atomic-recs-result';
8
+ declare const AtomicRecsList_base: typeof LitElement;
7
9
  /**
8
10
  * The `atomic-recs-list` component displays recommendations by applying one or more result templates.
9
11
  *
12
+ * @slot default - The default slot where to insert the template element.
10
13
  * @part result-list - The element containing the list of results.
11
14
  * @part result-list-grid-clickable-container - The parent of the result and the clickable link encompassing it.
12
15
  * @part result-list-grid-clickable - The clickable link encompassing the result.
@@ -16,23 +19,24 @@ import { RecsBindings } from '../atomic-recs-interface/atomic-recs-interface';
16
19
  * @part indicators - The list of indicators.
17
20
  * @part indicator - A single indicator.
18
21
  * @part active-indicator - The active indicator.
19
- * @slot default - The default slot where to insert the template element.
20
22
  */
21
- export declare class AtomicRecsList implements InitializableComponent<RecsBindings> {
22
- bindings: RecsBindings;
23
+ export declare class AtomicRecsList extends AtomicRecsList_base implements InitializableComponent<RecsBindings> {
24
+ static styles: CSSResultGroup;
25
+ private static readonly propsSchema;
23
26
  recommendationList: RecommendationList;
24
- private loadingFlag;
25
27
  private itemRenderingFunction;
26
- private itemTemplateProvider;
28
+ private loadingFlag;
27
29
  private nextNewResultTarget?;
28
30
  private itemListCommon;
29
- host: HTMLDivElement;
31
+ private itemTemplateProvider;
32
+ bindings: RecsBindings;
30
33
  error: Error;
31
34
  private isAppLoaded;
35
+ private isEveryResultReady;
32
36
  private resultTemplateRegistered;
33
37
  private templateHasError;
34
38
  private currentPage;
35
- recommendationListState: RecommendationListState;
39
+ private recommendationListState;
36
40
  /**
37
41
  * The Recommendation identifier used by the Coveo platform to retrieve recommended documents.
38
42
  * Make sure to set a different value for each atomic-recs-list in your page.
@@ -58,7 +62,7 @@ export declare class AtomicRecsList implements InitializableComponent<RecsBindin
58
62
  numberOfRecommendations: number;
59
63
  /**
60
64
  * The number of recommendations to display, per page.
61
- * Setting a value greater than and lower than the numberOfRecommendations value activates the carousel.
65
+ * Setting a value greater than 0 and lower than the numberOfRecommendations value activates the carousel.
62
66
  * This does not affect the display of the list itself, only the number of recommendation pages.
63
67
  */
64
68
  numberOfRecommendationsPerPage?: number;
@@ -70,7 +74,7 @@ export declare class AtomicRecsList implements InitializableComponent<RecsBindin
70
74
  * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading label, from 1 to 6.
71
75
  */
72
76
  headingLevel: number;
73
- watchNumberOfRecommendationsPerPage(): Promise<void>;
77
+ constructor();
74
78
  /**
75
79
  * Sets a rendering function to bypass the standard HTML template mechanism for rendering results.
76
80
  * You can use this function while working with web frameworks that don't use plain HTML syntax such as React, Angular, or Vue.
@@ -89,20 +93,33 @@ export declare class AtomicRecsList implements InitializableComponent<RecsBindin
89
93
  */
90
94
  nextPage(): Promise<void>;
91
95
  initialize(): void;
92
- get focusTarget(): FocusTargetController;
96
+ willUpdate(changedProperties: Map<string, unknown>): Promise<void>;
97
+ private updateResultReadyState;
98
+ render(): import("lit-html").TemplateResult<1> | typeof nothing;
99
+ private get focusTarget();
93
100
  private get recommendationListStateWithAugment();
94
- private validateNumberOfRecommendationsPerPage;
95
- private validateRecommendationIdentifier;
96
- private updateOriginLevel2;
97
- private renderHeading;
98
101
  private get currentIndex();
99
102
  private get subsetRecommendations();
100
103
  private get numberOfPages();
101
104
  private get hasPagination();
102
105
  private get shouldRenderPagination();
103
- private getPropsForAtomicRecsResult;
106
+ private validateNumberOfRecommendationsPerPage;
107
+ private validateRecommendationIdentifier;
108
+ private updateOriginLevel2;
109
+ private initResultTemplateProvider;
110
+ private initItemListCommon;
104
111
  private computeListDisplayClasses;
105
- private renderAsGrid;
112
+ private renderHeading;
106
113
  private renderListOfRecommendations;
107
- render(): any;
114
+ private renderGrid;
115
+ private getLinkContent;
116
+ private getContent;
117
+ private getInteractiveResult;
118
+ private getResultId;
119
+ }
120
+ declare global {
121
+ interface HTMLElementTagNameMap {
122
+ 'atomic-recs-list': AtomicRecsList;
123
+ }
108
124
  }
125
+ export {};
@@ -1,4 +1,5 @@
1
1
  export { AtomicRecsError } from './atomic-recs-error/atomic-recs-error.js';
2
2
  export { AtomicRecsInterface } from './atomic-recs-interface/atomic-recs-interface.js';
3
+ export { AtomicRecsList } from './atomic-recs-list/atomic-recs-list.js';
3
4
  export { AtomicRecsResult } from './atomic-recs-result/atomic-recs-result.js';
4
5
  export { AtomicRecsResultTemplate } from './atomic-recs-result-template/atomic-recs-result-template.js';
@@ -72,6 +72,11 @@ export declare class AtomicGeneratedAnswer extends LitElement implements Initial
72
72
  * The unique identifier of the answer configuration to use to generate the answer.
73
73
  */
74
74
  answerConfigurationId?: string;
75
+ /**
76
+ * @internal
77
+ * The unique identifier of the agent to use to generate answers.
78
+ */
79
+ agentId?: string;
75
80
  /**
76
81
  * A list of fields to include with the citations used to generate the answer.
77
82
  *
@@ -5,50 +5,21 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { ItemDisplayBasicLayout, ItemDisplayDensity, ItemDisplayImageSize } from "./components/common/layout/display-options";
9
- import { ItemRenderingFunction } from "./components/common/item-list/stencil-item-list-common";
10
8
  import { Actions, InsightResultActionClickedEvent } from "./components/insight/atomic-insight-result-action/atomic-insight-result-action";
11
9
  import { InsightResultAttachToCaseEvent } from "./components/insight/atomic-insight-result-attach-to-case-action/atomic-insight-result-attach-to-case-action";
12
10
  import { DateFilterRange, DateRangeRequest, ResultTemplate, ResultTemplateCondition } from "@coveo/headless";
13
11
  import { RangeFacetSortCriterion as InsightRangeFacetSortCriterion } from "@coveo/headless/insight";
12
+ import { ItemDisplayBasicLayout, ItemDisplayDensity, ItemDisplayImageSize } from "./components/common/layout/display-options";
13
+ import { ItemRenderingFunction } from "./components/common/item-list/stencil-item-list-common";
14
14
  import { AnyBindings } from "./components/common/interface/bindings";
15
- export { ItemDisplayBasicLayout, ItemDisplayDensity, ItemDisplayImageSize } from "./components/common/layout/display-options";
16
- export { ItemRenderingFunction } from "./components/common/item-list/stencil-item-list-common";
17
15
  export { Actions, InsightResultActionClickedEvent } from "./components/insight/atomic-insight-result-action/atomic-insight-result-action";
18
16
  export { InsightResultAttachToCaseEvent } from "./components/insight/atomic-insight-result-attach-to-case-action/atomic-insight-result-attach-to-case-action";
19
17
  export { DateFilterRange, DateRangeRequest, ResultTemplate, ResultTemplateCondition } from "@coveo/headless";
20
18
  export { RangeFacetSortCriterion as InsightRangeFacetSortCriterion } from "@coveo/headless/insight";
19
+ export { ItemDisplayBasicLayout, ItemDisplayDensity, ItemDisplayImageSize } from "./components/common/layout/display-options";
20
+ export { ItemRenderingFunction } from "./components/common/item-list/stencil-item-list-common";
21
21
  export { AnyBindings } from "./components/common/interface/bindings";
22
22
  export namespace Components {
23
- interface AtomicInsightFoldedResultList {
24
- /**
25
- * The name of the field that uniquely identifies a result within a collection.
26
- * @defaultValue `foldingchild`
27
- */
28
- "childField"?: string;
29
- /**
30
- * The name of the field on which to do the folding. The folded result list component will use the values of this field to resolve the collections of result items.
31
- * @defaultValue `foldingcollection`
32
- */
33
- "collectionField"?: string;
34
- /**
35
- * The spacing of various elements in the result list, including the gap between results, the gap between parts of a result, and the font sizes of different parts in a result.
36
- */
37
- "density": ItemDisplayDensity;
38
- /**
39
- * The expected size of the image displayed in the results.
40
- */
41
- "imageSize": ItemDisplayImageSize;
42
- /**
43
- * The name of the field that determines whether a certain result is a top result containing other child results within a collection.
44
- * @defaultValue `foldingparent`
45
- */
46
- "parentField"?: string;
47
- /**
48
- * Sets a rendering function to bypass the standard HTML template mechanism for rendering results. You can use this function while working with web frameworks that don't use plain HTML syntax such as React, Angular, or Vue. Do not use this method if you integrate Atomic in a plain HTML deployment.
49
- */
50
- "setRenderFunction": (resultRenderingFunction: ItemRenderingFunction) => Promise<void>;
51
- }
52
23
  interface AtomicInsightGeneratedAnswer {
53
24
  "answerConfigurationId"?: string;
54
25
  /**
@@ -127,16 +98,6 @@ export namespace Components {
127
98
  string[]
128
99
  >;
129
100
  }
130
- interface AtomicInsightSmartSnippetSuggestions {
131
- /**
132
- * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the "People also ask" heading over the snippets, from 1 to 5.
133
- */
134
- "headingLevel": number;
135
- /**
136
- * Sets the style of the snippets. Example: ```ts smartSnippet.snippetStyle = ` b { color: blue; } `; ```
137
- */
138
- "snippetStyle"?: string;
139
- }
140
101
  interface AtomicInsightTimeframeFacet {
141
102
  /**
142
103
  * The required facets and values for this facet to be displayed. Examples: ```html <atomic-insight-facet facet-id="abc" field="objecttype" ...></atomic-insight-facet> <!-- To show the facet when any value is selected in the facet with id "abc": --> <atomic-insight-timeframe-facet depends-on-abc ... ></atomic-insight-timeframe-facet> <!-- To show the facet when value "doc" is selected in the facet with id "abc": --> <atomic-insight-timeframe-facet depends-on-abc="doc" ... ></atomic-insight-timeframe-facet> ```
@@ -243,56 +204,6 @@ export namespace Components {
243
204
  */
244
205
  "collapseFacetsAfter": number;
245
206
  }
246
- /**
247
- * The `atomic-recs-list` component displays recommendations by applying one or more result templates.
248
- */
249
- interface AtomicRecsList {
250
- /**
251
- * The spacing of various elements in the result list, including the gap between results, the gap between parts of a result, and the font sizes of different parts in a result.
252
- */
253
- "density": ItemDisplayDensity;
254
- /**
255
- * The layout to apply when displaying results themselves. This does not affect the display of the surrounding list itself. To modify the number of recommendations per column, modify the --atomic-recs-number-of-columns CSS variable.
256
- */
257
- "display": ItemDisplayBasicLayout;
258
- /**
259
- * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading label, from 1 to 6.
260
- */
261
- "headingLevel": number;
262
- /**
263
- * The expected size of the image displayed in the results.
264
- */
265
- "imageSize": ItemDisplayImageSize;
266
- /**
267
- * The non-localized label for the list of recommendations.
268
- */
269
- "label"?: string;
270
- /**
271
- * Moves to the next page, when the carousel is activated.
272
- */
273
- "nextPage": () => Promise<void>;
274
- /**
275
- * The total number of recommendations to display. This does not modify the number of recommendations per column. To do so, modify the --atomic-recs-number-of-columns CSS variable.
276
- */
277
- "numberOfRecommendations": number;
278
- /**
279
- * The number of recommendations to display, per page. Setting a value greater than and lower than the numberOfRecommendations value activates the carousel. This does not affect the display of the list itself, only the number of recommendation pages.
280
- */
281
- "numberOfRecommendationsPerPage"?: number;
282
- /**
283
- * Moves to the previous page, when the carousel is activated.
284
- */
285
- "previousPage": () => Promise<void>;
286
- /**
287
- * The Recommendation identifier used by the Coveo platform to retrieve recommended documents. Make sure to set a different value for each atomic-recs-list in your page.
288
- */
289
- "recommendation": string;
290
- /**
291
- * Sets a rendering function to bypass the standard HTML template mechanism for rendering results. You can use this function while working with web frameworks that don't use plain HTML syntax such as React, Angular, or Vue. Do not use this method if you integrate Atomic in a plain HTML deployment.
292
- * @param resultRenderingFunction
293
- */
294
- "setRenderFunction": (resultRenderingFunction: ItemRenderingFunction) => Promise<void>;
295
- }
296
207
  /**
297
208
  * @deprecated Use `atomic-facet-date-input` instead. This component is meant to be used with Stencil components only.
298
209
  * Internal component made to be integrated in a TimeframeFacet.
@@ -320,12 +231,6 @@ export interface AtomicStencilFacetDateInputCustomEvent<T> extends CustomEvent<T
320
231
  target: HTMLAtomicStencilFacetDateInputElement;
321
232
  }
322
233
  declare global {
323
- interface HTMLAtomicInsightFoldedResultListElement extends Components.AtomicInsightFoldedResultList, HTMLStencilElement {
324
- }
325
- var HTMLAtomicInsightFoldedResultListElement: {
326
- prototype: HTMLAtomicInsightFoldedResultListElement;
327
- new (): HTMLAtomicInsightFoldedResultListElement;
328
- };
329
234
  interface HTMLAtomicInsightGeneratedAnswerElement extends Components.AtomicInsightGeneratedAnswer, HTMLStencilElement {
330
235
  }
331
236
  var HTMLAtomicInsightGeneratedAnswerElement: {
@@ -373,12 +278,6 @@ declare global {
373
278
  prototype: HTMLAtomicInsightResultChildrenTemplateElement;
374
279
  new (): HTMLAtomicInsightResultChildrenTemplateElement;
375
280
  };
376
- interface HTMLAtomicInsightSmartSnippetSuggestionsElement extends Components.AtomicInsightSmartSnippetSuggestions, HTMLStencilElement {
377
- }
378
- var HTMLAtomicInsightSmartSnippetSuggestionsElement: {
379
- prototype: HTMLAtomicInsightSmartSnippetSuggestionsElement;
380
- new (): HTMLAtomicInsightSmartSnippetSuggestionsElement;
381
- };
382
281
  interface HTMLAtomicInsightTimeframeFacetElement extends Components.AtomicInsightTimeframeFacet, HTMLStencilElement {
383
282
  }
384
283
  var HTMLAtomicInsightTimeframeFacetElement: {
@@ -406,15 +305,6 @@ declare global {
406
305
  prototype: HTMLAtomicIpxRefineToggleElement;
407
306
  new (): HTMLAtomicIpxRefineToggleElement;
408
307
  };
409
- /**
410
- * The `atomic-recs-list` component displays recommendations by applying one or more result templates.
411
- */
412
- interface HTMLAtomicRecsListElement extends Components.AtomicRecsList, HTMLStencilElement {
413
- }
414
- var HTMLAtomicRecsListElement: {
415
- prototype: HTMLAtomicRecsListElement;
416
- new (): HTMLAtomicRecsListElement;
417
- };
418
308
  interface HTMLAtomicStencilFacetDateInputElementEventMap {
419
309
  "atomic/dateInputApply": any;
420
310
  }
@@ -437,46 +327,18 @@ declare global {
437
327
  new (): HTMLAtomicStencilFacetDateInputElement;
438
328
  };
439
329
  interface HTMLElementTagNameMap {
440
- "atomic-insight-folded-result-list": HTMLAtomicInsightFoldedResultListElement;
441
330
  "atomic-insight-generated-answer": HTMLAtomicInsightGeneratedAnswerElement;
442
331
  "atomic-insight-result-action": HTMLAtomicInsightResultActionElement;
443
332
  "atomic-insight-result-attach-to-case-action": HTMLAtomicInsightResultAttachToCaseActionElement;
444
333
  "atomic-insight-result-children-template": HTMLAtomicInsightResultChildrenTemplateElement;
445
- "atomic-insight-smart-snippet-suggestions": HTMLAtomicInsightSmartSnippetSuggestionsElement;
446
334
  "atomic-insight-timeframe-facet": HTMLAtomicInsightTimeframeFacetElement;
447
335
  "atomic-ipx-recs-list": HTMLAtomicIpxRecsListElement;
448
336
  "atomic-ipx-refine-modal": HTMLAtomicIpxRefineModalElement;
449
337
  "atomic-ipx-refine-toggle": HTMLAtomicIpxRefineToggleElement;
450
- "atomic-recs-list": HTMLAtomicRecsListElement;
451
338
  "atomic-stencil-facet-date-input": HTMLAtomicStencilFacetDateInputElement;
452
339
  }
453
340
  }
454
341
  declare namespace LocalJSX {
455
- interface AtomicInsightFoldedResultList {
456
- /**
457
- * The name of the field that uniquely identifies a result within a collection.
458
- * @defaultValue `foldingchild`
459
- */
460
- "childField"?: string;
461
- /**
462
- * The name of the field on which to do the folding. The folded result list component will use the values of this field to resolve the collections of result items.
463
- * @defaultValue `foldingcollection`
464
- */
465
- "collectionField"?: string;
466
- /**
467
- * The spacing of various elements in the result list, including the gap between results, the gap between parts of a result, and the font sizes of different parts in a result.
468
- */
469
- "density"?: ItemDisplayDensity;
470
- /**
471
- * The expected size of the image displayed in the results.
472
- */
473
- "imageSize"?: ItemDisplayImageSize;
474
- /**
475
- * The name of the field that determines whether a certain result is a top result containing other child results within a collection.
476
- * @defaultValue `foldingparent`
477
- */
478
- "parentField"?: string;
479
- }
480
342
  interface AtomicInsightGeneratedAnswer {
481
343
  /**
482
344
  * Whether to allow the answer to be collapsed when the text is taller than 250px.
@@ -561,16 +423,6 @@ declare namespace LocalJSX {
561
423
  string[]
562
424
  >;
563
425
  }
564
- interface AtomicInsightSmartSnippetSuggestions {
565
- /**
566
- * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the "People also ask" heading over the snippets, from 1 to 5.
567
- */
568
- "headingLevel"?: number;
569
- /**
570
- * Sets the style of the snippets. Example: ```ts smartSnippet.snippetStyle = ` b { color: blue; } `; ```
571
- */
572
- "snippetStyle"?: string;
573
- }
574
426
  interface AtomicInsightTimeframeFacet {
575
427
  /**
576
428
  * The required facets and values for this facet to be displayed. Examples: ```html <atomic-insight-facet facet-id="abc" field="objecttype" ...></atomic-insight-facet> <!-- To show the facet when any value is selected in the facet with id "abc": --> <atomic-insight-timeframe-facet depends-on-abc ... ></atomic-insight-timeframe-facet> <!-- To show the facet when value "doc" is selected in the facet with id "abc": --> <atomic-insight-timeframe-facet depends-on-abc="doc" ... ></atomic-insight-timeframe-facet> ```
@@ -664,43 +516,6 @@ declare namespace LocalJSX {
664
516
  */
665
517
  "collapseFacetsAfter"?: number;
666
518
  }
667
- /**
668
- * The `atomic-recs-list` component displays recommendations by applying one or more result templates.
669
- */
670
- interface AtomicRecsList {
671
- /**
672
- * The spacing of various elements in the result list, including the gap between results, the gap between parts of a result, and the font sizes of different parts in a result.
673
- */
674
- "density"?: ItemDisplayDensity;
675
- /**
676
- * The layout to apply when displaying results themselves. This does not affect the display of the surrounding list itself. To modify the number of recommendations per column, modify the --atomic-recs-number-of-columns CSS variable.
677
- */
678
- "display"?: ItemDisplayBasicLayout;
679
- /**
680
- * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading label, from 1 to 6.
681
- */
682
- "headingLevel"?: number;
683
- /**
684
- * The expected size of the image displayed in the results.
685
- */
686
- "imageSize"?: ItemDisplayImageSize;
687
- /**
688
- * The non-localized label for the list of recommendations.
689
- */
690
- "label"?: string;
691
- /**
692
- * The total number of recommendations to display. This does not modify the number of recommendations per column. To do so, modify the --atomic-recs-number-of-columns CSS variable.
693
- */
694
- "numberOfRecommendations"?: number;
695
- /**
696
- * The number of recommendations to display, per page. Setting a value greater than and lower than the numberOfRecommendations value activates the carousel. This does not affect the display of the list itself, only the number of recommendation pages.
697
- */
698
- "numberOfRecommendationsPerPage"?: number;
699
- /**
700
- * The Recommendation identifier used by the Coveo platform to retrieve recommended documents. Make sure to set a different value for each atomic-recs-list in your page.
701
- */
702
- "recommendation"?: string;
703
- }
704
519
  /**
705
520
  * @deprecated Use `atomic-facet-date-input` instead. This component is meant to be used with Stencil components only.
706
521
  * Internal component made to be integrated in a TimeframeFacet.
@@ -720,17 +535,14 @@ declare namespace LocalJSX {
720
535
  "rangeSetter": (range: DateRangeRequest) => void;
721
536
  }
722
537
  interface IntrinsicElements {
723
- "atomic-insight-folded-result-list": AtomicInsightFoldedResultList;
724
538
  "atomic-insight-generated-answer": AtomicInsightGeneratedAnswer;
725
539
  "atomic-insight-result-action": AtomicInsightResultAction;
726
540
  "atomic-insight-result-attach-to-case-action": AtomicInsightResultAttachToCaseAction;
727
541
  "atomic-insight-result-children-template": AtomicInsightResultChildrenTemplate;
728
- "atomic-insight-smart-snippet-suggestions": AtomicInsightSmartSnippetSuggestions;
729
542
  "atomic-insight-timeframe-facet": AtomicInsightTimeframeFacet;
730
543
  "atomic-ipx-recs-list": AtomicIpxRecsList;
731
544
  "atomic-ipx-refine-modal": AtomicIpxRefineModal;
732
545
  "atomic-ipx-refine-toggle": AtomicIpxRefineToggle;
733
- "atomic-recs-list": AtomicRecsList;
734
546
  "atomic-stencil-facet-date-input": AtomicStencilFacetDateInput;
735
547
  }
736
548
  }
@@ -738,12 +550,10 @@ export { LocalJSX as JSX };
738
550
  declare module "@stencil/core" {
739
551
  export namespace JSX {
740
552
  interface IntrinsicElements {
741
- "atomic-insight-folded-result-list": LocalJSX.AtomicInsightFoldedResultList & JSXBase.HTMLAttributes<HTMLAtomicInsightFoldedResultListElement>;
742
553
  "atomic-insight-generated-answer": LocalJSX.AtomicInsightGeneratedAnswer & JSXBase.HTMLAttributes<HTMLAtomicInsightGeneratedAnswerElement>;
743
554
  "atomic-insight-result-action": LocalJSX.AtomicInsightResultAction & JSXBase.HTMLAttributes<HTMLAtomicInsightResultActionElement>;
744
555
  "atomic-insight-result-attach-to-case-action": LocalJSX.AtomicInsightResultAttachToCaseAction & JSXBase.HTMLAttributes<HTMLAtomicInsightResultAttachToCaseActionElement>;
745
556
  "atomic-insight-result-children-template": LocalJSX.AtomicInsightResultChildrenTemplate & JSXBase.HTMLAttributes<HTMLAtomicInsightResultChildrenTemplateElement>;
746
- "atomic-insight-smart-snippet-suggestions": LocalJSX.AtomicInsightSmartSnippetSuggestions & JSXBase.HTMLAttributes<HTMLAtomicInsightSmartSnippetSuggestionsElement>;
747
557
  "atomic-insight-timeframe-facet": LocalJSX.AtomicInsightTimeframeFacet & JSXBase.HTMLAttributes<HTMLAtomicInsightTimeframeFacetElement>;
748
558
  /**
749
559
  * The `atomic-ipx-recs-list` component displays recommendations by applying one or more result templates.
@@ -751,10 +561,6 @@ declare module "@stencil/core" {
751
561
  "atomic-ipx-recs-list": LocalJSX.AtomicIpxRecsList & JSXBase.HTMLAttributes<HTMLAtomicIpxRecsListElement>;
752
562
  "atomic-ipx-refine-modal": LocalJSX.AtomicIpxRefineModal & JSXBase.HTMLAttributes<HTMLAtomicIpxRefineModalElement>;
753
563
  "atomic-ipx-refine-toggle": LocalJSX.AtomicIpxRefineToggle & JSXBase.HTMLAttributes<HTMLAtomicIpxRefineToggleElement>;
754
- /**
755
- * The `atomic-recs-list` component displays recommendations by applying one or more result templates.
756
- */
757
- "atomic-recs-list": LocalJSX.AtomicRecsList & JSXBase.HTMLAttributes<HTMLAtomicRecsListElement>;
758
564
  /**
759
565
  * @deprecated Use `atomic-facet-date-input` instead. This component is meant to be used with Stencil components only.
760
566
  * Internal component made to be integrated in a TimeframeFacet.