@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
@@ -1,26 +0,0 @@
1
- import { ProductTemplate, ProductTemplateCondition } from '@coveo/headless/commerce';
2
- export { makeMatchConditions } from '../template-controller/template-utils';
3
- export type TemplateContent = DocumentFragment;
4
- interface ProductTemplateCommonProps {
5
- allowEmpty?: boolean;
6
- host: HTMLDivElement;
7
- validParents: string[];
8
- setError: (error: Error) => void;
9
- }
10
- type TemplateNodeType = 'section' | 'metadata' | 'table-column-definition' | 'other';
11
- export declare function getTemplateNodeType(node: Node): TemplateNodeType;
12
- /**
13
- * @deprecated Use `ProductTemplateController` Reactive controller instead.
14
- */
15
- export declare class ProductTemplateCommon {
16
- private host;
17
- matchConditions: ProductTemplateCondition[];
18
- private gridCellLinkTarget?;
19
- constructor({ host, setError, validParents, allowEmpty, }: ProductTemplateCommonProps);
20
- validateTemplate(host: HTMLDivElement, setError: (error: Error) => void, validParents: string[], allowEmpty?: boolean): void;
21
- getTemplate(conditions: ProductTemplateCondition[], error: Error): ProductTemplate<TemplateContent> | null;
22
- renderIfError(error: Error): any;
23
- getDefaultLinkTemplateElement(): HTMLTemplateElement;
24
- getLinkTemplateElement(host: HTMLElement): HTMLTemplateElement;
25
- }
26
- export declare function makeDefinedConditions(ifDefined?: string, ifNotDefined?: string): ProductTemplateCondition[];
@@ -1,12 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface AutoCorrectionProps {
4
- i18n: i18n;
5
- originalQuery: string;
6
- correctedTo: string;
7
- }
8
- /**
9
- * @deprecated should only be used for Stencil components.
10
- */
11
- export declare const AutoCorrection: FunctionalComponent<AutoCorrectionProps>;
12
- export {};
@@ -1,12 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface CorrectionProps {
4
- i18n: i18n;
5
- onClick: () => void;
6
- correctedQuery: string;
7
- }
8
- /**
9
- * @deprecated should only be used for Stencil components.
10
- */
11
- export declare const Correction: FunctionalComponent<CorrectionProps>;
12
- export {};
@@ -1,9 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface QueryCorrectionGuardProps {
3
- hasCorrection: boolean;
4
- }
5
- /**
6
- * @deprecated should only be used for Stencil components.
7
- */
8
- export declare const QueryCorrectionGuard: FunctionalComponent<QueryCorrectionGuardProps>;
9
- export {};
@@ -1,13 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface TriggerCorrectionProps {
4
- i18n: i18n;
5
- correctedQuery: string;
6
- originalQuery: string;
7
- onClick: () => void;
8
- }
9
- /**
10
- * @deprecated should only be used for Stencil components.
11
- */
12
- export declare const TriggerCorrection: FunctionalComponent<TriggerCorrectionProps>;
13
- export {};
@@ -1,5 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- /**
3
- * @deprecated should only be used for Stencil components.
4
- */
5
- export declare const QueryErrorContainer: FunctionalComponent;
@@ -1,13 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface QueryErrorDescriptionProps {
4
- errorType?: string;
5
- i18n: i18n;
6
- url: string;
7
- organizationId: string;
8
- }
9
- /**
10
- * @deprecated should only be used for Stencil components.
11
- */
12
- export declare const QueryErrorDescription: FunctionalComponent<QueryErrorDescriptionProps>;
13
- export {};
@@ -1,10 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface QueryErrorDetailsProps {
3
- error: unknown;
4
- show: boolean;
5
- }
6
- /**
7
- * @deprecated should only be used for Stencil components.
8
- */
9
- export declare const QueryErrorDetails: FunctionalComponent<QueryErrorDetailsProps>;
10
- export {};
@@ -1,9 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface QueryErrorGuardProps {
3
- hasError: boolean;
4
- }
5
- /**
6
- * @deprecated should only be used for Stencil components.
7
- */
8
- export declare const QueryErrorGuard: FunctionalComponent<QueryErrorGuardProps>;
9
- export {};
@@ -1,9 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface QueryErrorIconProps {
3
- errorType?: string;
4
- }
5
- /**
6
- * @deprecated should only be used for Stencil components.
7
- */
8
- export declare const QueryErrorIcon: FunctionalComponent<QueryErrorIconProps>;
9
- export {};
@@ -1,11 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface QueryErrorLinkProps {
4
- errorType?: string;
5
- i18n: i18n;
6
- }
7
- /**
8
- * @deprecated should only be used for Stencil components.
9
- */
10
- export declare const QueryErrorLink: FunctionalComponent<QueryErrorLinkProps>;
11
- export {};
@@ -1,13 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- import { QueryErrorLink } from './stencil-link';
4
- interface QueryErrorShowMoreProps {
5
- onShowMore: () => void;
6
- i18n: i18n;
7
- link?: typeof QueryErrorLink;
8
- }
9
- /**
10
- * @deprecated should only be used for Stencil components.
11
- */
12
- export declare const QueryErrorShowMore: FunctionalComponent<QueryErrorShowMoreProps>;
13
- export {};
@@ -1,12 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface QueryErrorTitleProps {
4
- errorType?: string;
5
- i18n: i18n;
6
- organizationId: string;
7
- }
8
- /**
9
- * @deprecated should only be used for Stencil components.
10
- */
11
- export declare const QueryErrorTitle: FunctionalComponent<QueryErrorTitleProps>;
12
- export {};
@@ -1,9 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface QuerySummaryContainerProps {
3
- additionalClasses?: string;
4
- }
5
- /**
6
- * @deprecated should only be used for Stencil components.
7
- */
8
- export declare const QuerySummaryContainer: FunctionalComponent<QuerySummaryContainerProps>;
9
- export {};
@@ -1,11 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface QuerySummaryGuardProps {
3
- hasResults: boolean;
4
- hasError: boolean;
5
- firstSearchExecuted: boolean;
6
- }
7
- /**
8
- * @deprecated should only be used for Stencil components.
9
- */
10
- export declare const QuerySummaryGuard: FunctionalComponent<QuerySummaryGuardProps>;
11
- export {};
@@ -1,23 +0,0 @@
1
- import { i18n } from 'i18next';
2
- interface i18nKeyProps {
3
- first: number;
4
- last: number;
5
- total: number;
6
- query: string;
7
- isLoading: boolean;
8
- i18n: i18n;
9
- }
10
- /**
11
- * @deprecated should only be used for Stencil components.
12
- */
13
- export declare const getQuerySummaryI18nParameters: (props: i18nKeyProps) => {
14
- i18nKey: string;
15
- highlights: {
16
- first: any;
17
- last: any;
18
- total: any;
19
- query: any;
20
- };
21
- ariaLiveMessage: string;
22
- };
23
- export {};
@@ -1,7 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- /**
3
- * @deprecated should only be used for Stencil components.
4
- */
5
- export declare const RefineModalBody: FunctionalComponent<{
6
- ariaLabel: string;
7
- }>;
@@ -1,12 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface RefineToggleButtonProps {
4
- i18n: i18n;
5
- onClick: () => void;
6
- setRef: (button: HTMLButtonElement) => void;
7
- }
8
- /**
9
- * @deprecated should only be used for Stencil components.
10
- */
11
- export declare const RefineToggleButton: FunctionalComponent<RefineToggleButtonProps>;
12
- export {};
@@ -1,20 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface RefineModalFiltersSectionProps {
4
- i18n: i18n;
5
- withFacets: boolean;
6
- withAutomaticFacets: boolean;
7
- }
8
- /**
9
- * @deprecated should only be used for Stencil components.
10
- */
11
- export declare const RefineModalFiltersSection: FunctionalComponent<RefineModalFiltersSectionProps>;
12
- interface RefineModalFiltersClearButtonProps {
13
- i18n: i18n;
14
- onClick: () => void;
15
- }
16
- /**
17
- * @deprecated should only be used for Stencil components.
18
- */
19
- export declare const RefineModalFiltersClearButton: FunctionalComponent<RefineModalFiltersClearButtonProps>;
20
- export {};
@@ -1,11 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface RefineToggleGuardProps {
3
- hasError: boolean;
4
- firstRequestExecuted: boolean;
5
- hasItems: boolean;
6
- }
7
- /**
8
- * @deprecated should only be used for Stencil components.
9
- */
10
- export declare const RefineToggleGuard: FunctionalComponent<RefineToggleGuardProps>;
11
- export {};
@@ -1,18 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface RefineModalProps {
4
- host: HTMLElement;
5
- i18n: i18n;
6
- onClose(): void;
7
- title: string;
8
- numberOfItems: number;
9
- isOpen: boolean;
10
- openButton?: HTMLElement;
11
- boundary?: 'page' | 'element';
12
- scope?: HTMLElement;
13
- }
14
- /**
15
- * @deprecated should only be used for Stencil components.
16
- */
17
- export declare const RefineModal: FunctionalComponent<RefineModalProps>;
18
- export {};
@@ -1,11 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface RefineModalSortSectionProps {
4
- i18n: i18n;
5
- onSelect: (e: Event) => void;
6
- }
7
- /**
8
- * @deprecated should only be used for Stencil components.
9
- */
10
- export declare const RefineModalSortSection: FunctionalComponent<RefineModalSortSectionProps>;
11
- export {};
@@ -1,9 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface ChildrenWrapperProps {
3
- hasChildren: boolean;
4
- }
5
- /**
6
- * @deprecated should only be used for Stencil components.
7
- */
8
- export declare const ChildrenWrapper: FunctionalComponent<ChildrenWrapperProps>;
9
- export {};
@@ -1,16 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { ItemDisplayDensity, ItemDisplayImageSize } from '../layout/display-options';
3
- interface CollectionGuardProps {
4
- isLoadingMoreResults: boolean;
5
- moreResultsAvailable: boolean;
6
- hasChildren: boolean;
7
- numberOfChildren: number;
8
- density: ItemDisplayDensity;
9
- imageSize: ItemDisplayImageSize;
10
- noResultText: string;
11
- }
12
- /**
13
- * @deprecated should only be used for Stencil components.
14
- */
15
- export declare const CollectionGuard: FunctionalComponent<CollectionGuardProps>;
16
- export {};
@@ -1,11 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface ResultChildrenGuardProps {
3
- inheritTemplates: boolean;
4
- resultTemplateRegistered: boolean;
5
- templateHasError: boolean;
6
- }
7
- /**
8
- * @deprecated should only be used for Stencil components.
9
- */
10
- export declare const ResultChildrenGuard: FunctionalComponent<ResultChildrenGuardProps>;
11
- export {};
@@ -1,14 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface ShowHideButtonProps {
3
- moreResultsAvailable: boolean;
4
- loadFullCollection: () => void;
5
- showInitialChildren: boolean;
6
- toggleShowInitialChildren: () => void;
7
- loadAllResults: string;
8
- collapseResults: string;
9
- }
10
- /**
11
- * @deprecated should only be used for Stencil components.
12
- */
13
- export declare const ShowHideButton: FunctionalComponent<ShowHideButtonProps>;
14
- export {};
@@ -1,24 +0,0 @@
1
- import { ResultTemplate, ResultTemplateCondition } from '@coveo/headless';
2
- export type TemplateContent = DocumentFragment;
3
- interface ResultTemplateCommonProps {
4
- allowEmpty?: boolean;
5
- host: HTMLDivElement;
6
- validParents: string[];
7
- setError: (error: Error) => void;
8
- }
9
- type TemplateNodeType = 'section' | 'metadata' | 'table-column-definition' | 'other';
10
- export declare function getTemplateNodeType(node: Node): TemplateNodeType;
11
- export declare class ResultTemplateCommon {
12
- private host;
13
- matchConditions: ResultTemplateCondition[];
14
- private gridCellLinkTarget;
15
- constructor({ host, setError, validParents, allowEmpty, }: ResultTemplateCommonProps);
16
- validateTemplate(host: HTMLDivElement, setError: (error: Error) => void, validParents: string[], allowEmpty?: boolean): void;
17
- getTemplate(conditions: ResultTemplateCondition[], error: Error): ResultTemplate<TemplateContent> | null;
18
- renderIfError(error: Error): any;
19
- getDefaultLinkTemplateElement(): HTMLTemplateElement;
20
- getLinkTemplateElement(host: HTMLElement): HTMLTemplateElement;
21
- }
22
- export declare function makeMatchConditions(mustMatch: Record<string, string[]>, mustNotMatch: Record<string, string[]>): ResultTemplateCondition[];
23
- export declare function makeDefinedConditions(ifDefined?: string, ifNotDefined?: string): ResultTemplateCondition[];
24
- export {};
@@ -1,10 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- interface Props {
3
- disabled: boolean;
4
- onFocusout?: (event: FocusEvent) => void;
5
- }
6
- /**
7
- * @deprecated should only be used for Stencil components.
8
- */
9
- export declare const SearchBoxWrapper: FunctionalComponent<Props>;
10
- export {};
@@ -1,22 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { JSXBase } from '../../../stencil-public-runtime';
3
- import { AnyBindings } from '../interface/bindings';
4
- interface Props extends JSXBase.TextareaHTMLAttributes<HTMLTextAreaElement> {
5
- textAreaRef: HTMLTextAreaElement;
6
- loading: boolean;
7
- bindings: AnyBindings;
8
- value: string;
9
- ariaLabel: string;
10
- onClear(): void;
11
- popup?: {
12
- id: string;
13
- activeDescendant: string;
14
- expanded: boolean;
15
- hasSuggestions: boolean;
16
- };
17
- }
18
- /**
19
- * @deprecated should only be used for Stencil components.
20
- */
21
- export declare const SearchTextArea: FunctionalComponent<Props>;
22
- export {};
@@ -1,12 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { AnyBindings } from '../interface/bindings';
3
- interface Props {
4
- bindings: AnyBindings;
5
- disabled: boolean;
6
- onClick: () => void;
7
- }
8
- /**
9
- * @deprecated should only be used for Stencil components.
10
- */
11
- export declare const SubmitButton: FunctionalComponent<Props>;
12
- export {};
@@ -1,12 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { AnyBindings } from '../interface/bindings';
3
- import { StencilButtonProps } from '../stencil-button';
4
- interface Props extends Partial<StencilButtonProps> {
5
- bindings: AnyBindings;
6
- inputRef: HTMLInputElement | HTMLTextAreaElement | null;
7
- }
8
- /**
9
- * @deprecated should only be used for Stencil components.
10
- */
11
- export declare const TextAreaClearButton: FunctionalComponent<Props>;
12
- export {};
@@ -1,31 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- /**
4
- * @deprecated should only be used for Stencil components.
5
- */
6
- export declare const SmartSnippetWrapper: FunctionalComponent<{
7
- headingLevel?: number;
8
- i18n: i18n;
9
- }>;
10
- interface SmartSnippetQuestionProps {
11
- headingLevel?: number;
12
- question: string;
13
- }
14
- /**
15
- * @deprecated should only be used for Stencil components.
16
- */
17
- export declare const SmartSnippetQuestion: FunctionalComponent<SmartSnippetQuestionProps>;
18
- /**
19
- * @deprecated should only be used for Stencil components.
20
- */
21
- export declare const SmartSnippetTruncatedAnswer: FunctionalComponent<{
22
- answer: string;
23
- style?: string;
24
- }>;
25
- /**
26
- * @deprecated should only be used for Stencil components.
27
- */
28
- export declare const SmartSnippetFooter: FunctionalComponent<{
29
- i18n: i18n;
30
- }>;
31
- export {};
@@ -1,57 +0,0 @@
1
- import type { SmartSnippetFeedback } from '@coveo/headless';
2
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
3
- import { i18n } from 'i18next';
4
- /**
5
- * @deprecated should only be used for Stencil components.
6
- */
7
- export declare const SmartSnippetFeedbackModalHeader: FunctionalComponent<{
8
- i18n: i18n;
9
- }>;
10
- /**
11
- * @deprecated should only be used for Stencil components.
12
- */
13
- export declare const SmartSnippetFeedbackModalBody: FunctionalComponent<{
14
- formId: string;
15
- onSubmit: (e: Event) => void;
16
- }>;
17
- /**
18
- * @deprecated should only be used for Stencil components.
19
- */
20
- export declare const SmartSnippetFeebackModalOptions: FunctionalComponent<{
21
- i18n: i18n;
22
- }>;
23
- /**
24
- * @deprecated should only be used for Stencil components.
25
- */
26
- export declare const SmartSnippetFeedbackModalOption: FunctionalComponent<{
27
- correspondingAnswer: SmartSnippetFeedback | 'other';
28
- currentAnswer?: SmartSnippetFeedback | 'other';
29
- i18n: i18n;
30
- id: string;
31
- localeKey: string;
32
- onChange: (e: Event) => void;
33
- }>;
34
- /**
35
- * @deprecated should only be used for Stencil components.
36
- */
37
- export declare const SmartSnippetFeedbackModalDetails: FunctionalComponent<{
38
- currentAnswer?: SmartSnippetFeedback | 'other';
39
- i18n: i18n;
40
- setDetailsInputRef: (ref?: HTMLTextAreaElement) => void;
41
- }>;
42
- /**
43
- * @deprecated should only be used for Stencil components.
44
- */
45
- export declare const SmartSnippetFeedbackModalFooter: FunctionalComponent<{
46
- formId: string;
47
- i18n: i18n;
48
- onClick: (e: MouseEvent) => void;
49
- }>;
50
- /**
51
- * @deprecated should only be used for Stencil components.
52
- */
53
- export declare const smartSnippetFeedbackOptions: {
54
- id: string;
55
- localeKey: string;
56
- correspondingAnswer: SmartSnippetFeedback | 'other';
57
- }[];
@@ -1,43 +0,0 @@
1
- import { FunctionalComponent } from '../../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- /**
4
- * @deprecated should only be used for Stencil components.
5
- */
6
- export declare const SmartSnippetSuggestionsWrapper: FunctionalComponent<{
7
- headingLevel: number;
8
- i18n: i18n;
9
- }>;
10
- /**
11
- * @deprecated should only be used for Stencil components.
12
- */
13
- export declare const SmartSnippetSuggestionsQuestionWrapper: FunctionalComponent<{
14
- expanded: boolean;
15
- key: string;
16
- }>;
17
- /**
18
- * @deprecated should only be used for Stencil components.
19
- */
20
- export declare const SmartSnippetSuggestionsQuestion: FunctionalComponent<{
21
- ariaControls: string;
22
- expanded: boolean;
23
- headingLevel?: number;
24
- onClick: (event: MouseEvent) => void;
25
- question: string;
26
- }>;
27
- /**
28
- * @deprecated should only be used for Stencil components.
29
- */
30
- export declare const SmartSnippetSuggestionsAnswerAndSourceWrapper: FunctionalComponent<{
31
- expanded: boolean;
32
- id: string;
33
- }>;
34
- /**
35
- * @deprecated should only be used for Stencil components.
36
- */
37
- export declare const SmartSnippetSuggestionsFooter: FunctionalComponent<{
38
- i18n: i18n;
39
- }>;
40
- /**
41
- * @deprecated should only be used for Stencil components.
42
- */
43
- export declare const getQuestionPart: (base: string, expanded: boolean) => string;
@@ -1,18 +0,0 @@
1
- import { FunctionalComponent } from '../../../stencil-public-runtime';
2
- import { i18n } from 'i18next';
3
- interface SmartSnippetFeedbackBannerProps {
4
- i18n: i18n;
5
- id: string;
6
- liked: boolean;
7
- disliked: boolean;
8
- feedbackSent: boolean;
9
- onLike(): void;
10
- onDislike(): void;
11
- onPressExplainWhy(): void;
12
- explainWhyRef?(element?: HTMLButtonElement): void;
13
- }
14
- /**
15
- * @deprecated should only be used for Stencil components.
16
- */
17
- export declare const SmartSnippetFeedbackBanner: FunctionalComponent<SmartSnippetFeedbackBannerProps>;
18
- export {};
@@ -1,11 +0,0 @@
1
- export type ButtonStyle = 'primary' | 'outline-primary' | 'outline-neutral' | 'outline-error' | 'outline-bg-neutral' | 'outline-bg-error' | 'text-primary' | 'text-neutral' | 'text-transparent' | 'square-neutral';
2
- /**
3
- * @deprecated Should only be used for Stencil components; for Lit components, use the button-style.ts
4
- * This file is required to be in a tsx file to be able to use it in Stencil components.
5
- */
6
- export declare function getClassNameForButtonStyle(buttonStyle: ButtonStyle): "btn-primary" | "btn-outline-primary" | "btn-outline-neutral" | "btn-outline-error" | "btn-outline-bg-neutral" | "btn-outline-bg-error" | "btn-text-primary" | "btn-text-neutral" | "btn-text-transparent" | "btn-square-neutral";
7
- /**
8
- * @deprecated Should only be used for Stencil components; for Lit components, use the button-style.ts
9
- * This file is required to be in a tsx file to be able to use it in Stencil components.
10
- */
11
- export declare function getRippleColorForButtonStyle(buttonStyle: ButtonStyle): "primary" | "neutral-light" | "neutral";
@@ -1,30 +0,0 @@
1
- import { FunctionalComponent } from '../../stencil-public-runtime';
2
- import { ButtonStyle } from './stencil-button-style';
3
- /**
4
- * @deprecated should only be used for Stencil components.
5
- */
6
- export interface StencilButtonProps {
7
- style: ButtonStyle;
8
- onClick?(event?: MouseEvent): void;
9
- class?: string;
10
- text?: string;
11
- part?: string;
12
- type?: string;
13
- form?: string;
14
- role?: string;
15
- disabled?: boolean;
16
- ariaLabel?: string;
17
- ariaExpanded?: string;
18
- ariaPressed?: string;
19
- ariaChecked?: string;
20
- ariaCurrent?: string;
21
- ariaControls?: string;
22
- ariaHidden?: string;
23
- tabIndex?: string;
24
- title?: string;
25
- ref?(element?: HTMLButtonElement): void;
26
- }
27
- /**
28
- * @deprecated should only be used for Stencil components.
29
- */
30
- export declare const Button: FunctionalComponent<StencilButtonProps>;