@coveo/atomic 3.51.0 → 3.52.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 (337) hide show
  1. package/custom-elements.json +947 -831
  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 -8
  5. package/dist/atomic/components/_index.js +97 -25
  6. package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +2 -2
  7. package/dist/atomic/components/components/common/atomic-facet-date-input/atomic-facet-date-input.js +1 -0
  8. package/dist/atomic/components/components/common/facets/timeframe-facet-common.js +1 -0
  9. package/dist/atomic/components/components/common/generated-answer/atomic-answer-content/atomic-answer-content.js +166 -0
  10. package/dist/atomic/components/components/common/generated-answer/atomic-generated-answer-thread-item/atomic-generated-answer-thread-item.js +155 -0
  11. package/dist/atomic/components/components/common/generated-answer/atomic-generated-answers-thread/atomic-generated-answers-thread.js +165 -0
  12. package/dist/atomic/components/components/common/generated-answer/render-follow-up-input.js +66 -0
  13. package/dist/atomic/components/components/common/generated-answer/styles/generated-answer.tw.css.js +1 -1
  14. package/dist/atomic/components/components/insight/atomic-insight-result-action/atomic-insight-result-action.js +169 -0
  15. package/dist/atomic/components/components/insight/atomic-insight-result-children/atomic-insight-result-children.js +3 -2
  16. package/dist/atomic/components/components/insight/atomic-insight-result-children-template/atomic-insight-result-children-template.js +79 -0
  17. package/dist/atomic/components/components/insight/atomic-insight-timeframe-facet/atomic-insight-timeframe-facet.js +267 -0
  18. package/dist/atomic/components/components/insight/atomic-insight-user-actions-session/atomic-insight-user-actions-session.js +1 -1
  19. package/dist/atomic/components/components/insight/atomic-insight-user-actions-timeline/atomic-insight-user-actions-timeline.js +1 -1
  20. package/dist/atomic/components/components/insight/index.js +3 -0
  21. package/dist/atomic/components/components/insight/lazy-index.js +3 -0
  22. package/dist/atomic/components/components/search/atomic-external/atomic-external.js +1 -1
  23. package/dist/atomic/components/components/search/atomic-generated-answer/atomic-generated-answer.js +96 -9
  24. package/dist/atomic/components/components/search/atomic-search-box/atomic-search-box.js +2 -2
  25. package/dist/atomic/components/decorators/bindings.js +1 -1
  26. package/dist/atomic/components/global/environment.js +1 -1
  27. package/dist/atomic/components/index.js.map +1 -1
  28. package/dist/atomic/components/mixins/bindings-mixin.js +1 -1
  29. package/dist/atomic/components/utils/custom-element-tags.js +6 -2
  30. package/dist/atomic/components/utils/tailwind.global.tw.css.js +2 -2
  31. package/dist/atomic/index.esm.js +1 -1
  32. package/dist/atomic/index.esm.js.map +1 -1
  33. package/dist/atomic/lang/cs.json +1 -1
  34. package/dist/atomic/lang/da.json +1 -1
  35. package/dist/atomic/lang/de.json +1 -1
  36. package/dist/atomic/lang/dev.json +1 -1
  37. package/dist/atomic/lang/el.json +1 -1
  38. package/dist/atomic/lang/en.json +1 -1
  39. package/dist/atomic/lang/es.json +1 -1
  40. package/dist/atomic/lang/fi.json +1 -1
  41. package/dist/atomic/lang/fr.json +1 -1
  42. package/dist/atomic/lang/hu.json +1 -1
  43. package/dist/atomic/lang/id.json +1 -1
  44. package/dist/atomic/lang/it.json +1 -1
  45. package/dist/atomic/lang/ja.json +1 -1
  46. package/dist/atomic/lang/ko.json +1 -1
  47. package/dist/atomic/lang/nl.json +1 -1
  48. package/dist/atomic/lang/no.json +1 -1
  49. package/dist/atomic/lang/pl.json +1 -1
  50. package/dist/atomic/lang/pt-BR.json +1 -1
  51. package/dist/atomic/lang/pt.json +1 -1
  52. package/dist/atomic/lang/ru.json +1 -1
  53. package/dist/atomic/lang/sv.json +1 -1
  54. package/dist/atomic/lang/th.json +1 -1
  55. package/dist/atomic/lang/tr.json +1 -1
  56. package/dist/atomic/lang/zh-CN.json +1 -1
  57. package/dist/atomic/lang/zh-TW.json +1 -1
  58. package/dist/atomic/lang/zh.json +1 -1
  59. package/dist/atomic/p-998f7983.js +3 -0
  60. package/dist/atomic/p-998f7983.js.map +1 -0
  61. package/dist/cjs/_index.cjs.js +110 -28
  62. package/dist/cjs/_loader.cjs.js +3 -4
  63. package/dist/cjs/app-globals-18f43c37.js +506 -0
  64. package/dist/cjs/app-globals-18f43c37.js.map +1 -0
  65. package/dist/cjs/atomic.cjs.js +4 -5
  66. package/dist/cjs/atomic.cjs.js.map +1 -1
  67. package/dist/cjs/index.cjs.js.map +1 -1
  68. package/dist/cjs/loader.cjs.js.map +1 -1
  69. package/dist/cjs/version.cjs.js +2 -2
  70. package/dist/esm/_index.js +97 -23
  71. package/dist/esm/_loader.js +3 -4
  72. package/dist/esm/app-globals-c5b073da.js +481 -0
  73. package/dist/esm/app-globals-c5b073da.js.map +1 -0
  74. package/dist/esm/atomic.js +3 -4
  75. package/dist/esm/atomic.js.map +1 -1
  76. package/dist/esm/index.js.map +1 -1
  77. package/dist/esm/loader.js.map +1 -1
  78. package/dist/esm/version.js +2 -2
  79. package/dist/types/components/common/context/bindings-context.d.ts +1 -1
  80. package/dist/types/components/common/facets/timeframe-facet-common.d.ts +1 -0
  81. package/dist/types/components/common/generated-answer/{answerContent/answer-content.d.ts → atomic-answer-content/atomic-answer-content.d.ts} +7 -6
  82. package/dist/types/components/common/generated-answer/{generated-answer-thread-item/generated-answer-thread-item.d.ts → atomic-generated-answer-thread-item/atomic-generated-answer-thread-item.d.ts} +3 -3
  83. package/dist/types/components/common/generated-answer/atomic-generated-answers-thread/atomic-generated-answers-thread.d.ts +42 -0
  84. package/dist/types/components/insight/atomic-insight-result-action/atomic-insight-result-action.d.ts +33 -18
  85. package/dist/types/components/insight/atomic-insight-result-children/atomic-insight-result-children.d.ts +1 -0
  86. package/dist/types/components/insight/atomic-insight-result-children-template/atomic-insight-result-children-template.d.ts +62 -0
  87. package/dist/types/components/insight/atomic-insight-timeframe-facet/atomic-insight-timeframe-facet.d.ts +47 -28
  88. package/dist/types/components/insight/index.d.ts +3 -0
  89. package/dist/types/components/search/atomic-external/atomic-external.d.ts +1 -1
  90. package/dist/types/components/search/atomic-generated-answer/atomic-generated-answer.d.ts +11 -2
  91. package/dist/types/components.d.ts +0 -298
  92. package/dist/types/decorators/bindings.d.ts +1 -1
  93. package/dist/types/index.d.ts +2 -3
  94. package/dist/types/utils/accessibility-utils.d.ts +2 -2
  95. package/dist/types/utils/init-queue.d.ts +1 -1
  96. package/docs/atomic-docs.json +2 -43
  97. package/package.json +4 -8
  98. package/dist/atomic/components/_commonjsHelpers.js +0 -5
  99. package/dist/atomic/components/_commonjsHelpers.js.map +0 -1
  100. package/dist/atomic/components/atomic-insight-result-action.d.ts +0 -11
  101. package/dist/atomic/components/atomic-insight-result-action.js +0 -272
  102. package/dist/atomic/components/atomic-insight-result-action.js.map +0 -1
  103. package/dist/atomic/components/atomic-insight-result-children-template.d.ts +0 -11
  104. package/dist/atomic/components/atomic-insight-result-children-template.js +0 -242
  105. package/dist/atomic/components/atomic-insight-result-children-template.js.map +0 -1
  106. package/dist/atomic/components/atomic-insight-timeframe-facet.d.ts +0 -11
  107. package/dist/atomic/components/atomic-insight-timeframe-facet.js +0 -816
  108. package/dist/atomic/components/atomic-insight-timeframe-facet.js.map +0 -1
  109. package/dist/atomic/components/atomic-stencil-facet-date-input.d.ts +0 -11
  110. package/dist/atomic/components/atomic-stencil-facet-date-input.js +0 -107
  111. package/dist/atomic/components/atomic-stencil-facet-date-input.js.map +0 -1
  112. package/dist/atomic/components/date-utils.js +0 -26
  113. package/dist/atomic/components/date-utils.js.map +0 -1
  114. package/dist/atomic/components/initialization-utils.js +0 -226
  115. package/dist/atomic/components/initialization-utils.js.map +0 -1
  116. package/dist/atomic/components/props-utils.js +0 -1457
  117. package/dist/atomic/components/props-utils.js.map +0 -1
  118. package/dist/atomic/components/stencil-button.js +0 -148
  119. package/dist/atomic/components/stencil-button.js.map +0 -1
  120. package/dist/atomic/p-1580513b.js +0 -2
  121. package/dist/atomic/p-1580513b.js.map +0 -1
  122. package/dist/atomic/p-1df0744f.entry.js +0 -9
  123. package/dist/atomic/p-1df0744f.entry.js.map +0 -1
  124. package/dist/atomic/p-2045a1b1.js +0 -2
  125. package/dist/atomic/p-2045a1b1.js.map +0 -1
  126. package/dist/atomic/p-4573c419.js +0 -2
  127. package/dist/atomic/p-4573c419.js.map +0 -1
  128. package/dist/atomic/p-500bf5c4.entry.js +0 -2
  129. package/dist/atomic/p-500bf5c4.entry.js.map +0 -1
  130. package/dist/atomic/p-5226a938.js +0 -3
  131. package/dist/atomic/p-5226a938.js.map +0 -1
  132. package/dist/atomic/p-720863c3.js +0 -2
  133. package/dist/atomic/p-720863c3.js.map +0 -1
  134. package/dist/atomic/p-81336626.entry.js +0 -2
  135. package/dist/atomic/p-81336626.entry.js.map +0 -1
  136. package/dist/atomic/p-81d6e743.js +0 -2
  137. package/dist/atomic/p-81d6e743.js.map +0 -1
  138. package/dist/atomic/p-aad3b4ec.js +0 -3
  139. package/dist/atomic/p-aad3b4ec.js.map +0 -1
  140. package/dist/atomic/p-b5af331b.entry.js +0 -2
  141. package/dist/atomic/p-b5af331b.entry.js.map +0 -1
  142. package/dist/atomic/p-b7209471.js +0 -2
  143. package/dist/atomic/p-b7209471.js.map +0 -1
  144. package/dist/atomic/p-dac60354.js +0 -2
  145. package/dist/atomic/p-dac60354.js.map +0 -1
  146. package/dist/atomic/p-e1255160.js +0 -2
  147. package/dist/atomic/p-e1255160.js.map +0 -1
  148. package/dist/cjs/_commonjsHelpers-68cdf74f.js +0 -7
  149. package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +0 -1
  150. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  151. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  152. package/dist/cjs/atomic-insight-result-action.cjs.entry.js +0 -153
  153. package/dist/cjs/atomic-insight-result-action.cjs.entry.js.map +0 -1
  154. package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js +0 -222
  155. package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js.map +0 -1
  156. package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js +0 -790
  157. package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js.map +0 -1
  158. package/dist/cjs/atomic-stencil-facet-date-input.cjs.entry.js +0 -86
  159. package/dist/cjs/atomic-stencil-facet-date-input.cjs.entry.js.map +0 -1
  160. package/dist/cjs/date-utils-aae1d713.js +0 -28
  161. package/dist/cjs/date-utils-aae1d713.js.map +0 -1
  162. package/dist/cjs/event-utils-9bfcf3c5.js +0 -27
  163. package/dist/cjs/event-utils-9bfcf3c5.js.map +0 -1
  164. package/dist/cjs/index-122375df.js +0 -1394
  165. package/dist/cjs/index-122375df.js.map +0 -1
  166. package/dist/cjs/initialization-lit-stencil-common-utils-f19f74c0.js +0 -95
  167. package/dist/cjs/initialization-lit-stencil-common-utils-f19f74c0.js.map +0 -1
  168. package/dist/cjs/initialization-utils-c2821271.js +0 -148
  169. package/dist/cjs/initialization-utils-c2821271.js.map +0 -1
  170. package/dist/cjs/props-utils-e4f29f1e.js +0 -1464
  171. package/dist/cjs/props-utils-e4f29f1e.js.map +0 -1
  172. package/dist/cjs/stencil-button-bf22eea4.js +0 -130
  173. package/dist/cjs/stencil-button-bf22eea4.js.map +0 -1
  174. package/dist/cjs/stencil-result-template-decorators-96954751.js +0 -114
  175. package/dist/cjs/stencil-result-template-decorators-96954751.js.map +0 -1
  176. package/dist/esm/_commonjsHelpers-1c8beb5f.js +0 -5
  177. package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +0 -1
  178. package/dist/esm/app-globals-0f993ce5.js +0 -5
  179. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  180. package/dist/esm/atomic-insight-result-action.entry.js +0 -149
  181. package/dist/esm/atomic-insight-result-action.entry.js.map +0 -1
  182. package/dist/esm/atomic-insight-result-children-template.entry.js +0 -218
  183. package/dist/esm/atomic-insight-result-children-template.entry.js.map +0 -1
  184. package/dist/esm/atomic-insight-timeframe-facet.entry.js +0 -786
  185. package/dist/esm/atomic-insight-timeframe-facet.entry.js.map +0 -1
  186. package/dist/esm/atomic-stencil-facet-date-input.entry.js +0 -82
  187. package/dist/esm/atomic-stencil-facet-date-input.entry.js.map +0 -1
  188. package/dist/esm/date-utils-3b955e79.js +0 -26
  189. package/dist/esm/date-utils-3b955e79.js.map +0 -1
  190. package/dist/esm/event-utils-8de63ec3.js +0 -24
  191. package/dist/esm/event-utils-8de63ec3.js.map +0 -1
  192. package/dist/esm/index-4d679e44.js +0 -1364
  193. package/dist/esm/index-4d679e44.js.map +0 -1
  194. package/dist/esm/initialization-lit-stencil-common-utils-e7755434.js +0 -88
  195. package/dist/esm/initialization-lit-stencil-common-utils-e7755434.js.map +0 -1
  196. package/dist/esm/initialization-utils-9ff399ff.js +0 -144
  197. package/dist/esm/initialization-utils-9ff399ff.js.map +0 -1
  198. package/dist/esm/props-utils-76043c82.js +0 -1457
  199. package/dist/esm/props-utils-76043c82.js.map +0 -1
  200. package/dist/esm/stencil-button-28de709c.js +0 -128
  201. package/dist/esm/stencil-button-28de709c.js.map +0 -1
  202. package/dist/esm/stencil-result-template-decorators-4c2e5132.js +0 -110
  203. package/dist/esm/stencil-result-template-decorators-4c2e5132.js.map +0 -1
  204. package/dist/types/components/commerce/product-template-component-utils/context/stencil-product-template-decorators.d.ts +0 -14
  205. package/dist/types/components/common/atomic-rating/stencil-rating.d.ts +0 -18
  206. package/dist/types/components/common/atomic-result-placeholder/stencil-placeholders.d.ts +0 -20
  207. package/dist/types/components/common/breadbox/stencil-breadcrumb-button.d.ts +0 -15
  208. package/dist/types/components/common/breadbox/stencil-breadcrumb-clear-all.d.ts +0 -13
  209. package/dist/types/components/common/breadbox/stencil-breadcrumb-container.d.ts +0 -11
  210. package/dist/types/components/common/breadbox/stencil-breadcrumb-content.d.ts +0 -14
  211. package/dist/types/components/common/breadbox/stencil-breadcrumb-show-less.d.ts +0 -13
  212. package/dist/types/components/common/breadbox/stencil-breadcrumb-show-more.d.ts +0 -14
  213. package/dist/types/components/common/facets/category-facet/stencil-all-categories-button.d.ts +0 -13
  214. package/dist/types/components/common/facets/category-facet/stencil-child-value-link.d.ts +0 -9
  215. package/dist/types/components/common/facets/category-facet/stencil-children-as-tree-container.d.ts +0 -9
  216. package/dist/types/components/common/facets/category-facet/stencil-parent-as-tree-container.d.ts +0 -10
  217. package/dist/types/components/common/facets/category-facet/stencil-parent-button.d.ts +0 -16
  218. package/dist/types/components/common/facets/category-facet/stencil-parent-value-link.d.ts +0 -9
  219. package/dist/types/components/common/facets/category-facet/stencil-search-results-container.d.ts +0 -5
  220. package/dist/types/components/common/facets/category-facet/stencil-search-value.d.ts +0 -19
  221. package/dist/types/components/common/facets/category-facet/stencil-value-as-tree-container.d.ts +0 -5
  222. package/dist/types/components/common/facets/category-facet/stencil-value-link.d.ts +0 -20
  223. package/dist/types/components/common/facets/facet-container/stencil-facet-container.d.ts +0 -5
  224. package/dist/types/components/common/facets/facet-header/stencil-facet-header.d.ts +0 -17
  225. package/dist/types/components/common/facets/facet-placeholder/stencil-facet-placeholder.d.ts +0 -10
  226. package/dist/types/components/common/facets/facet-search/stencil-facet-search-input-guard.d.ts +0 -11
  227. package/dist/types/components/common/facets/facet-search/stencil-facet-search-input.d.ts +0 -14
  228. package/dist/types/components/common/facets/facet-search/stencil-facet-search-matches.d.ts +0 -14
  229. package/dist/types/components/common/facets/facet-search/stencil-facet-search-value.d.ts +0 -6
  230. package/dist/types/components/common/facets/facet-show-more-less/stencil-facet-show-more-less.d.ts +0 -17
  231. package/dist/types/components/common/facets/facet-value/stencil-facet-value.d.ts +0 -22
  232. package/dist/types/components/common/facets/facet-value-box/stencil-facet-value-box.d.ts +0 -6
  233. package/dist/types/components/common/facets/facet-value-checkbox/stencil-facet-value-checkbox.d.ts +0 -11
  234. package/dist/types/components/common/facets/facet-value-exclude/stencil-facet-value-exclude.d.ts +0 -10
  235. package/dist/types/components/common/facets/facet-value-label-highlight/stencil-facet-value-label-highlight.d.ts +0 -12
  236. package/dist/types/components/common/facets/facet-value-link/stencil-facet-value-link.d.ts +0 -10
  237. package/dist/types/components/common/facets/facet-values-group/stencil-facet-values-group.d.ts +0 -12
  238. package/dist/types/components/common/facets/numeric-facet/stencil-value-link.d.ts +0 -12
  239. package/dist/types/components/common/facets/numeric-facet/stencil-values-container.d.ts +0 -11
  240. package/dist/types/components/common/facets/stencil-facet-common.d.ts +0 -43
  241. package/dist/types/components/common/facets/stencil-facet-date-input/stencil-facet-date-input.d.ts +0 -33
  242. package/dist/types/components/common/facets/stencil-facet-guard.d.ts +0 -12
  243. package/dist/types/components/common/facets/stencil-timeframe-facet-common.d.ts +0 -72
  244. package/dist/types/components/common/generated-answer/generated-answer-common.d.ts +0 -58
  245. package/dist/types/components/common/generated-answer/generated-content/stencil-generated-markdown-content.d.ts +0 -10
  246. package/dist/types/components/common/generated-answer/generated-content/stencil-generated-text-content.d.ts +0 -10
  247. package/dist/types/components/common/generated-answer/stencil-copy-button.d.ts +0 -12
  248. package/dist/types/components/common/generated-answer/stencil-feedback-button.d.ts +0 -13
  249. package/dist/types/components/common/generated-answer/stencil-generated-content-container.d.ts +0 -11
  250. package/dist/types/components/common/generated-answer/stencil-retry-prompt.d.ts +0 -11
  251. package/dist/types/components/common/generated-answer/stencil-show-button.d.ts +0 -12
  252. package/dist/types/components/common/generated-answer/stencil-source-citations.d.ts +0 -10
  253. package/dist/types/components/common/interface/interface-common-stencil.d.ts +0 -34
  254. package/dist/types/components/common/interface/stencil-i18n.d.ts +0 -11
  255. package/dist/types/components/common/item-link/stencil-item-link.d.ts +0 -30
  256. package/dist/types/components/common/item-list/item-list-decorators.d.ts +0 -17
  257. package/dist/types/components/common/item-list/stencil-display-grid.d.ts +0 -17
  258. package/dist/types/components/common/item-list/stencil-display-wrapper.d.ts +0 -11
  259. package/dist/types/components/common/item-list/stencil-item-decorators.d.ts +0 -41
  260. package/dist/types/components/common/item-list/stencil-item-display-guard.d.ts +0 -10
  261. package/dist/types/components/common/item-list/stencil-item-list-common.d.ts +0 -31
  262. package/dist/types/components/common/item-list/stencil-item-list-guard.d.ts +0 -13
  263. package/dist/types/components/common/item-text/stencil-item-text-fallback.d.ts +0 -14
  264. package/dist/types/components/common/item-text/stencil-item-text-highlighted.d.ts +0 -13
  265. package/dist/types/components/common/load-more/guard.d.ts +0 -10
  266. package/dist/types/components/common/load-more/stencil-button.d.ts +0 -13
  267. package/dist/types/components/common/load-more/stencil-container.d.ts +0 -5
  268. package/dist/types/components/common/load-more/stencil-progress-bar.d.ts +0 -10
  269. package/dist/types/components/common/load-more/stencil-summary.d.ts +0 -13
  270. package/dist/types/components/common/no-items/stencil-container.d.ts +0 -5
  271. package/dist/types/components/common/no-items/stencil-guard.d.ts +0 -11
  272. package/dist/types/components/common/no-items/stencil-magnifying-glass.d.ts +0 -5
  273. package/dist/types/components/common/no-items/stencil-no-items.d.ts +0 -12
  274. package/dist/types/components/common/no-items/stencil-tips.d.ts +0 -10
  275. package/dist/types/components/common/pager/stencil-pager-buttons.d.ts +0 -33
  276. package/dist/types/components/common/pager/stencil-pager-navigation.d.ts +0 -10
  277. package/dist/types/components/common/product-template/stencil-product-template-common.d.ts +0 -26
  278. package/dist/types/components/common/query-correction/stencil-auto-correction.d.ts +0 -12
  279. package/dist/types/components/common/query-correction/stencil-correction.d.ts +0 -12
  280. package/dist/types/components/common/query-correction/stencil-guard.d.ts +0 -9
  281. package/dist/types/components/common/query-correction/stencil-trigger-correction.d.ts +0 -13
  282. package/dist/types/components/common/query-error/stencil-container.d.ts +0 -5
  283. package/dist/types/components/common/query-error/stencil-description.d.ts +0 -13
  284. package/dist/types/components/common/query-error/stencil-details.d.ts +0 -10
  285. package/dist/types/components/common/query-error/stencil-guard.d.ts +0 -9
  286. package/dist/types/components/common/query-error/stencil-icon.d.ts +0 -9
  287. package/dist/types/components/common/query-error/stencil-link.d.ts +0 -11
  288. package/dist/types/components/common/query-error/stencil-show-more.d.ts +0 -13
  289. package/dist/types/components/common/query-error/stencil-title.d.ts +0 -12
  290. package/dist/types/components/common/query-summary/stencil-container.d.ts +0 -9
  291. package/dist/types/components/common/query-summary/stencil-guard.d.ts +0 -11
  292. package/dist/types/components/common/query-summary/stencil-utils.d.ts +0 -23
  293. package/dist/types/components/common/refine-modal/stencil-body.d.ts +0 -7
  294. package/dist/types/components/common/refine-modal/stencil-button.d.ts +0 -12
  295. package/dist/types/components/common/refine-modal/stencil-filters.d.ts +0 -20
  296. package/dist/types/components/common/refine-modal/stencil-guard.d.ts +0 -11
  297. package/dist/types/components/common/refine-modal/stencil-modal.d.ts +0 -18
  298. package/dist/types/components/common/refine-modal/stencil-sort.d.ts +0 -11
  299. package/dist/types/components/common/result-children/stencil-children-wrapper.d.ts +0 -9
  300. package/dist/types/components/common/result-children/stencil-collection-guard.d.ts +0 -16
  301. package/dist/types/components/common/result-children/stencil-guard.d.ts +0 -11
  302. package/dist/types/components/common/result-children/stencil-show-hide-button.d.ts +0 -14
  303. package/dist/types/components/common/result-templates/stencil-result-template-common.d.ts +0 -24
  304. package/dist/types/components/common/search-box/stencil-search-box-wrapper.d.ts +0 -10
  305. package/dist/types/components/common/search-box/stencil-search-text-area.d.ts +0 -22
  306. package/dist/types/components/common/search-box/stencil-submit-button.d.ts +0 -12
  307. package/dist/types/components/common/search-box/stencil-text-area-clear-button.d.ts +0 -12
  308. package/dist/types/components/common/smart-snippets/atomic-smart-snippet/stencil-smart-snippet-common.d.ts +0 -31
  309. package/dist/types/components/common/smart-snippets/atomic-smart-snippet-feedback-modal/stencil-smart-snippet-feedback-modal-common.d.ts +0 -57
  310. package/dist/types/components/common/smart-snippets/atomic-smart-snippet-suggestions/stencil-smart-snippet-suggestions-common.d.ts +0 -43
  311. package/dist/types/components/common/smart-snippets/stencil-smart-snippet-feedback-banner.d.ts +0 -18
  312. package/dist/types/components/common/stencil-button-style.d.ts +0 -11
  313. package/dist/types/components/common/stencil-button.d.ts +0 -30
  314. package/dist/types/components/common/stencil-carousel.d.ts +0 -15
  315. package/dist/types/components/common/stencil-checkbox.d.ts +0 -22
  316. package/dist/types/components/common/stencil-fieldset-group.d.ts +0 -9
  317. package/dist/types/components/common/stencil-heading.d.ts +0 -7
  318. package/dist/types/components/common/stencil-hidden.d.ts +0 -5
  319. package/dist/types/components/common/stencil-iconButton.d.ts +0 -13
  320. package/dist/types/components/common/stencil-radio-button.d.ts +0 -12
  321. package/dist/types/components/common/stencil-switch.d.ts +0 -15
  322. package/dist/types/components/common/stencil-triStateCheckbox.d.ts +0 -11
  323. package/dist/types/components/common/suggestions/stencil-instant-item.d.ts +0 -19
  324. package/dist/types/components/common/suggestions/stencil-query-suggestions.d.ts +0 -32
  325. package/dist/types/components/common/suggestions/stencil-suggestion-manager.d.ts +0 -96
  326. package/dist/types/components/insight/result-templates/atomic-insight-result-children-template/atomic-insight-result-children-template.d.ts +0 -50
  327. package/dist/types/components/search/facets/facet-segmented-value/stencil-facet-segmented-value.d.ts +0 -6
  328. package/dist/types/components/search/result-template-component-utils/context/stencil-result-template-decorators.d.ts +0 -32
  329. package/dist/types/components/search/result-template-components/quickview-iframe/stencil-quickview-iframe.d.ts +0 -14
  330. package/dist/types/utils/__mocks__/stencil-resource-url.d.ts +0 -1
  331. package/dist/types/utils/initialization-utils.d.ts +0 -70
  332. package/dist/types/utils/jsx-utils.d.ts +0 -6
  333. package/dist/types/utils/stencil-accessibility-utils.d.ts +0 -43
  334. package/dist/types/utils/stencil-asset-path-utils.d.ts +0 -1
  335. package/dist/types/utils/stencil-resource-url.d.ts +0 -1
  336. /package/dist/atomic/components/utils/{initialization-lit-stencil-common-utils.js → initialization-common-utils.js} +0 -0
  337. /package/dist/types/utils/{initialization-lit-stencil-common-utils.d.ts → initialization-common-utils.d.ts} +0 -0
@@ -5,318 +5,20 @@
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 { Actions, InsightResultActionClickedEvent } from "./components/insight/atomic-insight-result-action/atomic-insight-result-action";
9
- import { DateFilterRange, DateRangeRequest, ResultTemplate, ResultTemplateCondition } from "@coveo/headless";
10
- import { RangeFacetSortCriterion as InsightRangeFacetSortCriterion } from "@coveo/headless/insight";
11
- import { AnyBindings } from "./components/common/interface/bindings";
12
- export { Actions, InsightResultActionClickedEvent } from "./components/insight/atomic-insight-result-action/atomic-insight-result-action";
13
- export { DateFilterRange, DateRangeRequest, ResultTemplate, ResultTemplateCondition } from "@coveo/headless";
14
- export { RangeFacetSortCriterion as InsightRangeFacetSortCriterion } from "@coveo/headless/insight";
15
- export { AnyBindings } from "./components/common/interface/bindings";
16
8
  export namespace Components {
17
- interface AtomicInsightResultAction {
18
- /**
19
- * The type of action to perform when the result action is clicked. This will be sent along the event fired when the button is clicked.
20
- */
21
- "action": Actions | string;
22
- /**
23
- * Specify the result action icon to display.
24
- */
25
- "icon": string;
26
- /**
27
- * The text tooltip to show on the result action icon.
28
- */
29
- "tooltip": string;
30
- /**
31
- * The text tooltip to show on the result action icon for some time after clicking the button.
32
- */
33
- "tooltipOnClick": string;
34
- }
35
- interface AtomicInsightResultChildrenTemplate {
36
- /**
37
- * A function that must return true on results for the result template to apply. Set programmatically before initialization, not via attribute. For example, the following targets a template and sets a condition to make it apply only to results whose `title` contains `singapore`: `document.querySelector('#target-template').conditions = [(result) => /singapore/i.test(result.title)];`
38
- */
39
- "conditions": ResultTemplateCondition[];
40
- /**
41
- * Gets the appropriate result template based on conditions applied.
42
- */
43
- "getTemplate": () => Promise<ResultTemplate<DocumentFragment> | null>;
44
- /**
45
- * The field that, when defined on a result item, would allow the template to be applied. For example, a template with the following attribute only applies to result items whose `filetype` and `sourcetype` fields are defined: `if-defined="filetype,sourcetype"`
46
- */
47
- "ifDefined"?: string;
48
- /**
49
- * The field that, when defined on a result item, would prevent the template from being applied. For example, a template with the following attribute only applies to result items whose `filetype` and `sourcetype` fields are NOT defined: `if-not-defined="filetype,sourcetype"`
50
- */
51
- "ifNotDefined"?: string;
52
- /**
53
- * The field and values that define which result items the condition must be applied to. For example, a template with the following attribute only applies to result items whose `filetype` is `lithiummessage` or `YouTubePlaylist`: `must-match-filetype="lithiummessage,YouTubePlaylist"`
54
- */
55
- "mustMatch": Record<
56
- string,
57
- string[]
58
- >;
59
- /**
60
- * The field and values that define which result items the condition must not be applied to. For example, a template with the following attribute only applies to result items whose `filetype` is not `lithiummessage`: `must-not-match-filetype="lithiummessage"`
61
- */
62
- "mustNotMatch": Record<
63
- string,
64
- string[]
65
- >;
66
- }
67
- interface AtomicInsightTimeframeFacet {
68
- /**
69
- * 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> ```
70
- */
71
- "dependsOn": Record<string, string>;
72
- /**
73
- * Specifies a unique identifier for the facet.
74
- */
75
- "facetId"?: string;
76
- /**
77
- * The field whose values you want to display in the facet.
78
- */
79
- "field": string;
80
- /**
81
- * Whether to exclude the parents of folded results when estimating the result count for each facet value. Note: Resulting count is only an estimation, in some cases this value could be incorrect.
82
- */
83
- "filterFacetCount": boolean;
84
- /**
85
- * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading over the facet, from 1 to 6.
86
- */
87
- "headingLevel": number;
88
- /**
89
- * The maximum number of results to scan in the index to ensure that the facet lists all potential facet values. Note: A high injectionDepth may negatively impact the facet request performance. Minimum: `0` Default: `1000`
90
- */
91
- "injectionDepth": number;
92
- /**
93
- * Specifies if the facet is collapsed.
94
- */
95
- "isCollapsed": boolean;
96
- /**
97
- * The non-localized label for the facet. Used in the atomic-breadbox component through the bindings store.
98
- */
99
- "label": string;
100
- /**
101
- * The sort criterion to apply to the returned facet values. Possible values are 'ascending' and 'descending'.
102
- */
103
- "sortCriteria": InsightRangeFacetSortCriterion;
104
- /**
105
- * Whether this facet should contain a date picker allowing users to set custom ranges.
106
- */
107
- "withDatePicker": boolean;
108
- }
109
- /**
110
- * @deprecated Use `atomic-facet-date-input` instead. This component is meant to be used with Stencil components only.
111
- * Internal component made to be integrated in a TimeframeFacet.
112
- */
113
- interface AtomicStencilFacetDateInput {
114
- "bindings": AnyBindings;
115
- "facetId": string;
116
- "label": string;
117
- "max"?: string;
118
- "min"?: string;
119
- "rangeGetter": () => DateFilterRange | undefined;
120
- "rangeSetter": (range: DateRangeRequest) => void;
121
- }
122
- }
123
- export interface AtomicInsightResultActionCustomEvent<T> extends CustomEvent<T> {
124
- detail: T;
125
- target: HTMLAtomicInsightResultActionElement;
126
- }
127
- export interface AtomicStencilFacetDateInputCustomEvent<T> extends CustomEvent<T> {
128
- detail: T;
129
- target: HTMLAtomicStencilFacetDateInputElement;
130
9
  }
131
10
  declare global {
132
- interface HTMLAtomicInsightResultActionElementEventMap {
133
- "atomicInsightResultActionClicked": InsightResultActionClickedEvent;
134
- }
135
- interface HTMLAtomicInsightResultActionElement extends Components.AtomicInsightResultAction, HTMLStencilElement {
136
- addEventListener<K extends keyof HTMLAtomicInsightResultActionElementEventMap>(type: K, listener: (this: HTMLAtomicInsightResultActionElement, ev: AtomicInsightResultActionCustomEvent<HTMLAtomicInsightResultActionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
137
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
138
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
139
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
140
- removeEventListener<K extends keyof HTMLAtomicInsightResultActionElementEventMap>(type: K, listener: (this: HTMLAtomicInsightResultActionElement, ev: AtomicInsightResultActionCustomEvent<HTMLAtomicInsightResultActionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
141
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
142
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
143
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
144
- }
145
- var HTMLAtomicInsightResultActionElement: {
146
- prototype: HTMLAtomicInsightResultActionElement;
147
- new (): HTMLAtomicInsightResultActionElement;
148
- };
149
- interface HTMLAtomicInsightResultChildrenTemplateElement extends Components.AtomicInsightResultChildrenTemplate, HTMLStencilElement {
150
- }
151
- var HTMLAtomicInsightResultChildrenTemplateElement: {
152
- prototype: HTMLAtomicInsightResultChildrenTemplateElement;
153
- new (): HTMLAtomicInsightResultChildrenTemplateElement;
154
- };
155
- interface HTMLAtomicInsightTimeframeFacetElement extends Components.AtomicInsightTimeframeFacet, HTMLStencilElement {
156
- }
157
- var HTMLAtomicInsightTimeframeFacetElement: {
158
- prototype: HTMLAtomicInsightTimeframeFacetElement;
159
- new (): HTMLAtomicInsightTimeframeFacetElement;
160
- };
161
- interface HTMLAtomicStencilFacetDateInputElementEventMap {
162
- "atomic/dateInputApply": any;
163
- }
164
- /**
165
- * @deprecated Use `atomic-facet-date-input` instead. This component is meant to be used with Stencil components only.
166
- * Internal component made to be integrated in a TimeframeFacet.
167
- */
168
- interface HTMLAtomicStencilFacetDateInputElement extends Components.AtomicStencilFacetDateInput, HTMLStencilElement {
169
- addEventListener<K extends keyof HTMLAtomicStencilFacetDateInputElementEventMap>(type: K, listener: (this: HTMLAtomicStencilFacetDateInputElement, ev: AtomicStencilFacetDateInputCustomEvent<HTMLAtomicStencilFacetDateInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
170
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
171
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
172
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
173
- removeEventListener<K extends keyof HTMLAtomicStencilFacetDateInputElementEventMap>(type: K, listener: (this: HTMLAtomicStencilFacetDateInputElement, ev: AtomicStencilFacetDateInputCustomEvent<HTMLAtomicStencilFacetDateInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
174
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
175
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
176
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
177
- }
178
- var HTMLAtomicStencilFacetDateInputElement: {
179
- prototype: HTMLAtomicStencilFacetDateInputElement;
180
- new (): HTMLAtomicStencilFacetDateInputElement;
181
- };
182
11
  interface HTMLElementTagNameMap {
183
- "atomic-insight-result-action": HTMLAtomicInsightResultActionElement;
184
- "atomic-insight-result-children-template": HTMLAtomicInsightResultChildrenTemplateElement;
185
- "atomic-insight-timeframe-facet": HTMLAtomicInsightTimeframeFacetElement;
186
- "atomic-stencil-facet-date-input": HTMLAtomicStencilFacetDateInputElement;
187
12
  }
188
13
  }
189
14
  declare namespace LocalJSX {
190
- interface AtomicInsightResultAction {
191
- /**
192
- * The type of action to perform when the result action is clicked. This will be sent along the event fired when the button is clicked.
193
- */
194
- "action"?: Actions | string;
195
- /**
196
- * Specify the result action icon to display.
197
- */
198
- "icon"?: string;
199
- /**
200
- * @migration Stencil's
201
- * @Event () decorator defaults to: bubbles=true, composed=true, cancelable=true. Native CustomEvent defaults to: bubbles=false, composed=false, cancelable=false. When migrating to Lit, explicitly set all three options to preserve behavior: `new CustomEvent('atomicInsightResultActionClicked', { bubbles: true, composed: true, cancelable: true, detail: ... })`
202
- */
203
- "onAtomicInsightResultActionClicked"?: (event: AtomicInsightResultActionCustomEvent<InsightResultActionClickedEvent>) => void;
204
- /**
205
- * The text tooltip to show on the result action icon.
206
- */
207
- "tooltip"?: string;
208
- /**
209
- * The text tooltip to show on the result action icon for some time after clicking the button.
210
- */
211
- "tooltipOnClick"?: string;
212
- }
213
- interface AtomicInsightResultChildrenTemplate {
214
- /**
215
- * A function that must return true on results for the result template to apply. Set programmatically before initialization, not via attribute. For example, the following targets a template and sets a condition to make it apply only to results whose `title` contains `singapore`: `document.querySelector('#target-template').conditions = [(result) => /singapore/i.test(result.title)];`
216
- */
217
- "conditions"?: ResultTemplateCondition[];
218
- /**
219
- * The field that, when defined on a result item, would allow the template to be applied. For example, a template with the following attribute only applies to result items whose `filetype` and `sourcetype` fields are defined: `if-defined="filetype,sourcetype"`
220
- */
221
- "ifDefined"?: string;
222
- /**
223
- * The field that, when defined on a result item, would prevent the template from being applied. For example, a template with the following attribute only applies to result items whose `filetype` and `sourcetype` fields are NOT defined: `if-not-defined="filetype,sourcetype"`
224
- */
225
- "ifNotDefined"?: string;
226
- /**
227
- * The field and values that define which result items the condition must be applied to. For example, a template with the following attribute only applies to result items whose `filetype` is `lithiummessage` or `YouTubePlaylist`: `must-match-filetype="lithiummessage,YouTubePlaylist"`
228
- */
229
- "mustMatch"?: Record<
230
- string,
231
- string[]
232
- >;
233
- /**
234
- * The field and values that define which result items the condition must not be applied to. For example, a template with the following attribute only applies to result items whose `filetype` is not `lithiummessage`: `must-not-match-filetype="lithiummessage"`
235
- */
236
- "mustNotMatch"?: Record<
237
- string,
238
- string[]
239
- >;
240
- }
241
- interface AtomicInsightTimeframeFacet {
242
- /**
243
- * 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> ```
244
- */
245
- "dependsOn"?: Record<string, string>;
246
- /**
247
- * Specifies a unique identifier for the facet.
248
- */
249
- "facetId"?: string;
250
- /**
251
- * The field whose values you want to display in the facet.
252
- */
253
- "field"?: string;
254
- /**
255
- * Whether to exclude the parents of folded results when estimating the result count for each facet value. Note: Resulting count is only an estimation, in some cases this value could be incorrect.
256
- */
257
- "filterFacetCount"?: boolean;
258
- /**
259
- * The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading over the facet, from 1 to 6.
260
- */
261
- "headingLevel"?: number;
262
- /**
263
- * The maximum number of results to scan in the index to ensure that the facet lists all potential facet values. Note: A high injectionDepth may negatively impact the facet request performance. Minimum: `0` Default: `1000`
264
- */
265
- "injectionDepth"?: number;
266
- /**
267
- * Specifies if the facet is collapsed.
268
- */
269
- "isCollapsed"?: boolean;
270
- /**
271
- * The non-localized label for the facet. Used in the atomic-breadbox component through the bindings store.
272
- */
273
- "label"?: string;
274
- /**
275
- * The sort criterion to apply to the returned facet values. Possible values are 'ascending' and 'descending'.
276
- */
277
- "sortCriteria"?: InsightRangeFacetSortCriterion;
278
- /**
279
- * Whether this facet should contain a date picker allowing users to set custom ranges.
280
- */
281
- "withDatePicker"?: boolean;
282
- }
283
- /**
284
- * @deprecated Use `atomic-facet-date-input` instead. This component is meant to be used with Stencil components only.
285
- * Internal component made to be integrated in a TimeframeFacet.
286
- */
287
- interface AtomicStencilFacetDateInput {
288
- "bindings": AnyBindings;
289
- "facetId": string;
290
- "label": string;
291
- "max"?: string;
292
- "min"?: string;
293
- /**
294
- * @migration Stencil's
295
- * @Event () decorator defaults to: bubbles=true, composed=true, cancelable=true. Native CustomEvent defaults to: bubbles=false, composed=false, cancelable=false. When migrating to Lit, explicitly set all three options to preserve behavior: `new CustomEvent('atomic/dateInputApply', { bubbles: true, composed: true, cancelable: true, detail: ... })`
296
- */
297
- "onAtomic/dateInputApply"?: (event: AtomicStencilFacetDateInputCustomEvent<any>) => void;
298
- "rangeGetter": () => DateFilterRange | undefined;
299
- "rangeSetter": (range: DateRangeRequest) => void;
300
- }
301
15
  interface IntrinsicElements {
302
- "atomic-insight-result-action": AtomicInsightResultAction;
303
- "atomic-insight-result-children-template": AtomicInsightResultChildrenTemplate;
304
- "atomic-insight-timeframe-facet": AtomicInsightTimeframeFacet;
305
- "atomic-stencil-facet-date-input": AtomicStencilFacetDateInput;
306
16
  }
307
17
  }
308
18
  export { LocalJSX as JSX };
309
19
  declare module "@stencil/core" {
310
20
  export namespace JSX {
311
21
  interface IntrinsicElements {
312
- "atomic-insight-result-action": LocalJSX.AtomicInsightResultAction & JSXBase.HTMLAttributes<HTMLAtomicInsightResultActionElement>;
313
- "atomic-insight-result-children-template": LocalJSX.AtomicInsightResultChildrenTemplate & JSXBase.HTMLAttributes<HTMLAtomicInsightResultChildrenTemplateElement>;
314
- "atomic-insight-timeframe-facet": LocalJSX.AtomicInsightTimeframeFacet & JSXBase.HTMLAttributes<HTMLAtomicInsightTimeframeFacetElement>;
315
- /**
316
- * @deprecated Use `atomic-facet-date-input` instead. This component is meant to be used with Stencil components only.
317
- * Internal component made to be integrated in a TimeframeFacet.
318
- */
319
- "atomic-stencil-facet-date-input": LocalJSX.AtomicStencilFacetDateInput & JSXBase.HTMLAttributes<HTMLAtomicStencilFacetDateInputElement>;
320
22
  }
321
23
  }
322
24
  }
@@ -1,5 +1,5 @@
1
1
  import type { ReactiveElement } from 'lit';
2
- import type { AnyBindings } from '../components';
2
+ import type { AnyBindings } from "../components/common/interface/bindings";
3
3
  import type { InitializableComponent } from './types';
4
4
  /**
5
5
  * A decorator that will initialize the component with the bindings provided by the bindings context.
@@ -1,9 +1,9 @@
1
+ export * from '@coveo/atomic-legacy/item-decorators';
1
2
  export type { i18n } from 'i18next';
2
3
  export { Components, JSX } from './components';
3
4
  export { CommerceBindings } from './components/commerce/atomic-commerce-interface/atomic-commerce-interface';
4
5
  export { SelectChildProductEventArgs } from './components/commerce/atomic-product-children/select-child-product-event';
5
6
  export { fetchProductContext } from './components/commerce/product-template-component-utils/context/fetch-product-context';
6
- export { productContext } from './components/commerce/product-template-component-utils/context/stencil-product-template-decorators';
7
7
  export { PopoverChildFacet } from './components/common/facets/popover/popover-type';
8
8
  export { RedirectionPayload } from './components/common/search-box/redirection-payload';
9
9
  export { dispatchSearchBoxSuggestionsEvent } from './components/common/suggestions/suggestions-events';
@@ -11,6 +11,5 @@ export type { SearchBoxSuggestionElement, SearchBoxSuggestions, SearchBoxSuggest
11
11
  export { elementHasNoQuery, elementHasQuery, } from './components/common/suggestions/suggestions-utils';
12
12
  export { RecsBindings } from './components/recommendations/atomic-recs-interface/atomic-recs-interface';
13
13
  export { Bindings } from './components/search/atomic-search-interface/atomic-search-interface';
14
- export { resultContext } from './components/search/result-template-component-utils/context/stencil-result-template-decorators';
15
- export { fetchBindings as initializeBindings, MissingInterfaceParentError, } from './utils/initialization-lit-stencil-common-utils';
14
+ export { fetchBindings as initializeBindings, MissingInterfaceParentError, } from './utils/initialization-common-utils';
16
15
  export { bindLogDocumentOpenOnResult } from './utils/result-utils';
@@ -1,6 +1,6 @@
1
1
  import type { ReactiveController, ReactiveControllerHost } from 'lit';
2
- import type { AnyBindings } from '../components';
3
- import type { AtomicAriaLive } from '../components/common/atomic-aria-live/atomic-aria-live';
2
+ import type { AtomicAriaLive } from "../components/common/atomic-aria-live/atomic-aria-live";
3
+ import type { AnyBindings } from "../components/common/interface/bindings";
4
4
  export interface FindAriaLiveEventArgs {
5
5
  element?: AtomicAriaLive;
6
6
  }
@@ -1,4 +1,4 @@
1
- import type { InitializeEventHandler } from './initialization-lit-stencil-common-utils';
1
+ import type { InitializeEventHandler } from './initialization-common-utils';
2
2
  export type InitializeEvent = CustomEvent<InitializeEventHandler>;
3
3
  declare global {
4
4
  interface Window {
@@ -1,51 +1,10 @@
1
1
  {
2
- "timestamp": "2026-02-25T03:07:17",
2
+ "timestamp": "2026-03-04T03:02:11",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.20.0",
6
6
  "typescriptVersion": "5.5.3"
7
7
  },
8
8
  "components": [],
9
- "typeLibrary": {
10
- "src/components/insight/atomic-insight-result-action/atomic-insight-result-action.tsx::Actions": {
11
- "declaration": "export enum Actions {\n CopyToClipboard = 'copyToClipboard',\n AttachToCase = 'attachToCase',\n Quickview = 'quickview',\n PostToFeed = 'postToFeed',\n SendAsEmail = 'sendAsEmail',\n}",
12
- "docstring": "",
13
- "path": "src/components/insight/atomic-insight-result-action/atomic-insight-result-action.tsx"
14
- },
15
- "src/components/insight/atomic-insight-result-action/atomic-insight-result-action.tsx::InsightResultActionClickedEvent": {
16
- "declaration": "export interface InsightResultActionClickedEvent {\n action: string;\n result: Result;\n}",
17
- "docstring": "",
18
- "path": "src/components/insight/atomic-insight-result-action/atomic-insight-result-action.tsx"
19
- },
20
- "src/components/common/interface/bindings.ts::AnyBindings": {
21
- "declaration": "export interface CommonBindings<\n Engine extends AnyEngineType,\n Store extends AnyStore,\n InterfaceElement extends HTMLElement,\n> {\n /**\n * A headless engine instance.\n */\n engine: Engine;\n /**\n * i18n instance, for localization.\n */\n i18n: i18n;\n /**\n * Global state for Atomic\n */\n store: Store;\n /**\n * A reference to the atomic interface element.\n */\n interfaceElement: InterfaceElement;\n}",
22
- "docstring": "Bindings passed from an interface to its children components.",
23
- "path": "src/components/common/interface/bindings.ts"
24
- },
25
- "../headless/dist/definitions/index.d.ts::DateFilterRange": {
26
- "declaration": "any",
27
- "docstring": "",
28
- "path": "../headless/dist/definitions/index.d.ts"
29
- },
30
- "../headless/dist/definitions/index.d.ts::DateRangeRequest": {
31
- "declaration": "any",
32
- "docstring": "",
33
- "path": "../headless/dist/definitions/index.d.ts"
34
- },
35
- "../headless/dist/definitions/insight.index.d.ts::RangeFacetSortCriterion": {
36
- "declaration": "any",
37
- "docstring": "",
38
- "path": "../headless/dist/definitions/insight.index.d.ts"
39
- },
40
- "../headless/dist/definitions/index.d.ts::ResultTemplateCondition": {
41
- "declaration": "any",
42
- "docstring": "",
43
- "path": "../headless/dist/definitions/index.d.ts"
44
- },
45
- "../headless/dist/definitions/index.d.ts::ResultTemplate": {
46
- "declaration": "any",
47
- "docstring": "",
48
- "path": "../headless/dist/definitions/index.d.ts"
49
- }
50
- }
9
+ "typeLibrary": {}
51
10
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coveo/atomic",
3
3
  "type": "module",
4
- "version": "3.51.0",
4
+ "version": "3.52.0",
5
5
  "description": "A web-component library for building modern UIs interfacing with the Coveo platform",
6
6
  "homepage": "https://docs.coveo.com/en/atomic/latest/",
7
7
  "repository": {
@@ -70,8 +70,8 @@
70
70
  "marked": "12.0.2",
71
71
  "stencil-inline-svg": "1.1.0",
72
72
  "@coveo/bueno": "1.1.7",
73
- "@coveo/headless": "3.45.1",
74
- "@coveo/atomic-legacy": "0.0.1"
73
+ "@coveo/headless": "3.46.0",
74
+ "@coveo/atomic-legacy": "0.0.2"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@custom-elements-manifest/analyzer": "0.10.4",
@@ -82,8 +82,6 @@
82
82
  "@rollup/plugin-node-resolve": "16.0.1",
83
83
  "@rollup/plugin-replace": "6.0.2",
84
84
  "@stencil-community/postcss": "2.2.0",
85
- "@stencil/angular-output-target": "0.8.4",
86
- "@stencil/react-output-target": "0.5.3",
87
85
  "@storybook/addon-a11y": "10.0.8",
88
86
  "@storybook/addon-docs": "10.0.8",
89
87
  "@storybook/addon-mcp": "0.1.3",
@@ -139,7 +137,7 @@
139
137
  "peerDependencies": {
140
138
  "typescript": ">=5.0.0",
141
139
  "@coveo/bueno": "1.1.7",
142
- "@coveo/headless": "3.45.1"
140
+ "@coveo/headless": "3.46.0"
143
141
  },
144
142
  "peerDependenciesMeta": {
145
143
  "typescript": {
@@ -183,8 +181,6 @@
183
181
  "e2e:hsp:watch": "cypress open --config-file cypress-hsp.config.mjs",
184
182
  "e2e:snapshots": "cypress run --config-file cypress-screenshots.config.mjs --browser chrome",
185
183
  "e2e:snapshots:watch": "cypress open --config-file cypress-screenshots.config.mjs --browser chrome",
186
- "e2e:insight": "cypress run --config-file cypress-insight-panel.config.mjs --browser chrome",
187
- "e2e:insight:watch": "cypress open --config-file cypress-insight-panel.config.mjs --browser chrome",
188
184
  "generate-component": "node ./scripts/generate-component.mjs",
189
185
  "release:phase3": "pnpm --filter @coveo/ci npm-publish",
190
186
  "release:phase1": "pnpm --filter @coveo/ci bump",
@@ -1,5 +0,0 @@
1
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
-
3
- export { commonjsGlobal as c };
4
-
5
- //# sourceMappingURL=_commonjsHelpers.js.map
@@ -1 +0,0 @@
1
- {"file":"_commonjsHelpers.js","mappings":";;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../../types/components";
2
-
3
- interface AtomicInsightResultAction extends Components.AtomicInsightResultAction, HTMLElement {}
4
- export const AtomicInsightResultAction: {
5
- prototype: AtomicInsightResultAction;
6
- new (): AtomicInsightResultAction;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;