@coveo/atomic 3.31.2-pre.2508f3c16d → 3.31.2-pre.2a7191c8ee

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 (238) hide show
  1. package/dist/atomic/_atomic.esm.js +1 -1
  2. package/dist/atomic/atomic.esm.js.map +1 -1
  3. package/dist/atomic/components/_index.d.ts +0 -2
  4. package/dist/atomic/components/_index.js +0 -1
  5. package/dist/atomic/components/analytics-config.js +1 -1
  6. package/dist/atomic/components/atomic-category-facet.js +1 -1
  7. package/dist/atomic/components/atomic-facet.js +1 -1
  8. package/dist/atomic/components/atomic-format-currency.js +1 -1
  9. package/dist/atomic/components/atomic-format-number.js +1 -1
  10. package/dist/atomic/components/atomic-format-unit.js +1 -1
  11. package/dist/atomic/components/atomic-numeric-facet.js +1 -1
  12. package/dist/atomic/components/atomic-quickview-modal2.js +1 -1
  13. package/dist/atomic/components/atomic-quickview.js +1 -1
  14. package/dist/atomic/components/atomic-result-children.js +1 -1
  15. package/dist/atomic/components/atomic-result-fields-list.js +1 -1
  16. package/dist/atomic/components/atomic-result-link.js +1 -1
  17. package/dist/atomic/components/atomic-result-list.js +1 -1
  18. package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
  19. package/dist/atomic/components/atomic-search-box-recent-queries2.js +1 -1
  20. package/dist/atomic/components/atomic-search-interface.js +1 -7
  21. package/dist/atomic/components/atomic-search-interface.js.map +1 -1
  22. package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
  23. package/dist/atomic/components/atomic-sort-dropdown.js +2 -2
  24. package/dist/atomic/components/atomic-sort-expression.js +1 -1
  25. package/dist/atomic/components/atomic-tab-manager.js +1 -1
  26. package/dist/atomic/components/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.tw.css.js +1 -1
  27. package/dist/atomic/components/components/commerce/atomic-commerce-interface/analytics-config.js +2 -0
  28. package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +21 -27
  29. package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.tw.css.js +1 -1
  30. package/dist/atomic/components/components/commerce/atomic-commerce-layout/atomic-commerce-layout.tw.css.js +1 -1
  31. package/dist/atomic/components/components/commerce/atomic-commerce-load-more-products/atomic-commerce-load-more-products.tw.css.js +1 -1
  32. package/dist/atomic/components/components/commerce/atomic-commerce-product-list/atomic-commerce-product-list.tw.css.js +1 -1
  33. package/dist/atomic/components/components/commerce/atomic-commerce-query-summary/atomic-commerce-query-summary.tw.css.js +1 -1
  34. package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.js +22 -36
  35. package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.tw.css.js +1 -1
  36. package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-list/atomic-commerce-recommendation-list.tw.css.js +1 -1
  37. package/dist/atomic/components/components/commerce/atomic-commerce-refine-modal/atomic-commerce-refine-modal.tw.css.js +1 -1
  38. package/dist/atomic/components/components/commerce/atomic-commerce-refine-toggle/atomic-commerce-refine-toggle.tw.css.js +1 -1
  39. package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +3 -0
  40. package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.tw.css.js +1 -1
  41. package/dist/atomic/components/components/commerce/atomic-commerce-sort-dropdown/atomic-commerce-sort-dropdown.tw.css.js +1 -1
  42. package/dist/atomic/components/components/commerce/atomic-product/atomic-product.tw.css.js +1 -1
  43. package/dist/atomic/components/components/commerce/atomic-product-children/atomic-product-children.tw.css.js +1 -1
  44. package/dist/atomic/components/components/commerce/atomic-product-description/atomic-product-description.tw.css.js +1 -1
  45. package/dist/atomic/components/components/commerce/atomic-product-excerpt/atomic-product-excerpt.tw.css.js +1 -1
  46. package/dist/atomic/components/components/commerce/atomic-product-link/atomic-product-link.tw.css.js +1 -1
  47. package/dist/atomic/components/components/commerce/atomic-product-multi-value-text/atomic-product-multi-value-text.tw.css.js +1 -1
  48. package/dist/atomic/components/components/commerce/atomic-product-price/atomic-product-price.tw.css.js +1 -1
  49. package/dist/atomic/components/components/common/atomic-aria-live/atomic-aria-live.js +102 -0
  50. package/dist/atomic/components/components/common/atomic-icon/atomic-icon.js +22 -3
  51. package/dist/atomic/components/components/common/facets/facet-common.tw.css.js +1 -1
  52. package/dist/atomic/components/components/common/facets/facet-search/facet-search.tw.css.js +1 -1
  53. package/dist/atomic/components/components/common/facets/facet-value-box/facet-value-box.tw.css.js +1 -1
  54. package/dist/atomic/components/components/common/facets/facet-value-checkbox/facet-value-checkbox.tw.css.js +1 -1
  55. package/dist/atomic/components/components/common/facets/facet-value-exclude/facet-value-exclude.tw.css.js +1 -1
  56. package/dist/atomic/components/components/common/index.js +1 -0
  57. package/dist/atomic/components/components/common/interface/analytics-config.js +38 -0
  58. package/dist/atomic/components/components/common/interface/interface-controller.js +89 -0
  59. package/dist/atomic/components/components/common/lazy-index.js +1 -0
  60. package/dist/atomic/components/components/common/refine-modal/refine-modal-common.tw.css.js +1 -1
  61. package/dist/atomic/components/debounce-utils.js +1 -34
  62. package/dist/atomic/components/debounce-utils.js.map +1 -1
  63. package/dist/atomic/components/global/environment.js +1 -1
  64. package/dist/atomic/components/global/tailwind.default.css.js +1 -1
  65. package/dist/atomic/components/index.js.map +1 -1
  66. package/dist/atomic/components/stencil-accessibility-utils.js.map +1 -1
  67. package/dist/atomic/components/themes/accessible.css.js +1 -1
  68. package/dist/atomic/components/themes/coveo.css.js +1 -1
  69. package/dist/atomic/components/utils/coveo.tw.css.js +1 -1
  70. package/dist/atomic/components/utils/tailwind-utilities/aspect-square.tw.css.js +1 -1
  71. package/dist/atomic/components/utils/tailwind-utilities/components.tw.css.js +1 -1
  72. package/dist/atomic/components/utils/tailwind-utilities/hide-scrollbar.tw.css.js +1 -1
  73. package/dist/atomic/components/utils/tailwind-utilities/link-style.tw.css.js +1 -1
  74. package/dist/atomic/components/utils/tailwind-utilities/set-font-size.tw.css.js +1 -1
  75. package/dist/atomic/components/utils/tailwind-utilities/utilities.tw.css.js +1 -1
  76. package/dist/atomic/components/utils/tailwind.global.tw.css.js +1 -1
  77. package/dist/atomic/p-01c91b69.js +2 -0
  78. package/dist/atomic/p-01c91b69.js.map +1 -0
  79. package/dist/atomic/{p-1b491649.entry.js → p-0af927f0.entry.js} +2 -2
  80. package/dist/atomic/{p-b043958c.entry.js → p-0b9cd281.entry.js} +2 -2
  81. package/dist/atomic/{p-e44ba87e.entry.js → p-0f5ae66e.entry.js} +2 -2
  82. package/dist/atomic/{p-0674783d.entry.js → p-1b329f85.entry.js} +2 -2
  83. package/dist/atomic/p-271cf67e.entry.js +2 -0
  84. package/dist/atomic/p-271cf67e.entry.js.map +1 -0
  85. package/dist/atomic/p-306161d1.entry.js +2 -0
  86. package/dist/atomic/{p-f98f9a47.entry.js → p-3109f08a.entry.js} +2 -2
  87. package/dist/atomic/{p-a0445771.entry.js → p-4c5702ba.entry.js} +2 -2
  88. package/dist/atomic/{p-acc4d5de.js → p-53bcc515.js} +2 -2
  89. package/dist/atomic/{p-e2560da8.entry.js → p-5f64bbe0.entry.js} +2 -2
  90. package/dist/atomic/{p-fc73190d.entry.js → p-6638ca39.entry.js} +2 -2
  91. package/dist/atomic/{p-1176959c.entry.js → p-6f8ae3d2.entry.js} +2 -2
  92. package/dist/atomic/{p-0ed0e8b8.entry.js → p-731f82ed.entry.js} +2 -2
  93. package/dist/atomic/{p-1875d417.entry.js → p-77d50766.entry.js} +2 -2
  94. package/dist/atomic/{p-25f8b8d8.entry.js → p-7a07530d.entry.js} +2 -2
  95. package/dist/atomic/{p-c8d47706.entry.js → p-7a5d346b.entry.js} +2 -2
  96. package/dist/atomic/{p-1e0f2e91.entry.js → p-8434625a.entry.js} +2 -2
  97. package/dist/atomic/{p-5b888121.entry.js → p-89721f11.entry.js} +2 -2
  98. package/dist/atomic/{p-4539c722.js → p-8e30790c.js} +2 -2
  99. package/dist/atomic/{p-29c272bb.entry.js → p-91d52cad.entry.js} +2 -2
  100. package/dist/atomic/p-96a6f84f.js.map +1 -1
  101. package/dist/atomic/{p-11dd759c.entry.js → p-b1f7ac63.entry.js} +2 -2
  102. package/dist/atomic/{p-9ec49e74.entry.js → p-b7358287.entry.js} +2 -2
  103. package/dist/atomic/{p-5fc9f751.entry.js → p-bf5d5c79.entry.js} +2 -2
  104. package/dist/atomic/{p-716e9e1d.entry.js → p-c0025d4c.entry.js} +2 -2
  105. package/dist/atomic/{p-494c57a0.entry.js → p-e406cacd.entry.js} +2 -2
  106. package/dist/atomic/p-f0e861c5.entry.js +2 -0
  107. package/dist/atomic/{p-391c26ba.entry.js → p-f9bfd18b.entry.js} +2 -2
  108. package/dist/cjs/_loader.cjs.js +1 -1
  109. package/dist/cjs/{analytics-config-c5a4295a.js → analytics-config-0de5dd59.js} +2 -2
  110. package/dist/cjs/{analytics-config-c5a4295a.js.map → analytics-config-0de5dd59.js.map} +1 -1
  111. package/dist/cjs/atomic-category-facet.cjs.entry.js +1 -1
  112. package/dist/cjs/atomic-facet.cjs.entry.js +1 -1
  113. package/dist/cjs/atomic-format-currency.cjs.entry.js +1 -1
  114. package/dist/cjs/atomic-format-number.cjs.entry.js +1 -1
  115. package/dist/cjs/atomic-format-unit.cjs.entry.js +1 -1
  116. package/dist/cjs/atomic-generated-answer.cjs.entry.js +1 -1
  117. package/dist/cjs/atomic-insight-generated-answer.cjs.entry.js +1 -1
  118. package/dist/cjs/atomic-insight-interface.cjs.entry.js +1 -1
  119. package/dist/cjs/atomic-insight-search-box.cjs.entry.js +2 -2
  120. package/dist/cjs/atomic-numeric-facet.cjs.entry.js +1 -1
  121. package/dist/cjs/atomic-quickview-modal.cjs.entry.js +1 -1
  122. package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
  123. package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
  124. package/dist/cjs/{atomic-aria-live_2.cjs.entry.js → atomic-relevance-inspector.cjs.entry.js} +1 -68
  125. package/dist/cjs/atomic-relevance-inspector.cjs.entry.js.map +1 -0
  126. package/dist/cjs/atomic-result-children.cjs.entry.js +1 -1
  127. package/dist/cjs/atomic-result-fields-list.cjs.entry.js +1 -1
  128. package/dist/cjs/atomic-result-link.cjs.entry.js +1 -1
  129. package/dist/cjs/atomic-result-list.cjs.entry.js +1 -1
  130. package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +2 -2
  131. package/dist/cjs/atomic-search-box.cjs.entry.js +2 -2
  132. package/dist/cjs/atomic-search-interface.cjs.entry.js +1 -1
  133. package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
  134. package/dist/cjs/atomic-sort-dropdown.cjs.entry.js +2 -2
  135. package/dist/cjs/atomic-sort-expression.cjs.entry.js +1 -1
  136. package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
  137. package/dist/cjs/atomic.cjs.js +1 -1
  138. package/dist/cjs/debounce-utils-d26bcad4.js +15 -0
  139. package/dist/cjs/debounce-utils-d26bcad4.js.map +1 -0
  140. package/dist/cjs/index-757bc886.js +4 -4
  141. package/dist/cjs/stencil-accessibility-utils-aa4c9f6c.js.map +1 -1
  142. package/dist/cjs/{stencil-suggestion-manager-6f778cf0.js → stencil-suggestion-manager-5fa3ac70.js} +2 -2
  143. package/dist/cjs/{stencil-suggestion-manager-6f778cf0.js.map → stencil-suggestion-manager-5fa3ac70.js.map} +1 -1
  144. package/dist/cjs/version.cjs.js +2 -2
  145. package/dist/esm/_loader.js +1 -1
  146. package/dist/esm/{analytics-config-1348402f.js → analytics-config-e4e67468.js} +2 -2
  147. package/dist/esm/{analytics-config-1348402f.js.map → analytics-config-e4e67468.js.map} +1 -1
  148. package/dist/esm/atomic-category-facet.entry.js +1 -1
  149. package/dist/esm/atomic-facet.entry.js +1 -1
  150. package/dist/esm/atomic-format-currency.entry.js +1 -1
  151. package/dist/esm/atomic-format-number.entry.js +1 -1
  152. package/dist/esm/atomic-format-unit.entry.js +1 -1
  153. package/dist/esm/atomic-generated-answer.entry.js +1 -1
  154. package/dist/esm/atomic-insight-generated-answer.entry.js +1 -1
  155. package/dist/esm/atomic-insight-interface.entry.js +1 -1
  156. package/dist/esm/atomic-insight-search-box.entry.js +2 -2
  157. package/dist/esm/atomic-numeric-facet.entry.js +1 -1
  158. package/dist/esm/atomic-quickview-modal.entry.js +1 -1
  159. package/dist/esm/atomic-quickview.entry.js +1 -1
  160. package/dist/esm/atomic-recs-interface.entry.js +1 -1
  161. package/dist/esm/{atomic-aria-live_2.entry.js → atomic-relevance-inspector.entry.js} +3 -69
  162. package/dist/esm/atomic-relevance-inspector.entry.js.map +1 -0
  163. package/dist/esm/atomic-result-children.entry.js +1 -1
  164. package/dist/esm/atomic-result-fields-list.entry.js +1 -1
  165. package/dist/esm/atomic-result-link.entry.js +1 -1
  166. package/dist/esm/atomic-result-list.entry.js +1 -1
  167. package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +2 -2
  168. package/dist/esm/atomic-search-box.entry.js +2 -2
  169. package/dist/esm/atomic-search-interface.entry.js +1 -1
  170. package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
  171. package/dist/esm/atomic-sort-dropdown.entry.js +2 -2
  172. package/dist/esm/atomic-sort-expression.entry.js +1 -1
  173. package/dist/esm/atomic-tab-manager.entry.js +1 -1
  174. package/dist/esm/atomic.js +1 -1
  175. package/dist/esm/debounce-utils-8619dece.js +13 -0
  176. package/dist/esm/{debounce-utils-efa015c0.js.map → debounce-utils-8619dece.js.map} +1 -1
  177. package/dist/esm/index-3f35faca.js +4 -4
  178. package/dist/esm/stencil-accessibility-utils-bc273be5.js.map +1 -1
  179. package/dist/esm/{stencil-suggestion-manager-91706623.js → stencil-suggestion-manager-f52c6e39.js} +2 -2
  180. package/dist/esm/{stencil-suggestion-manager-91706623.js.map → stencil-suggestion-manager-f52c6e39.js.map} +1 -1
  181. package/dist/esm/version.js +2 -2
  182. package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts +3 -4
  183. package/dist/types/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.d.ts +5 -6
  184. package/dist/types/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.d.ts +3 -0
  185. package/dist/types/components/common/atomic-aria-live/atomic-aria-live.d.ts +38 -0
  186. package/dist/types/components/common/index.d.ts +1 -0
  187. package/dist/types/components/common/interface/i18n.d.ts +1 -1
  188. package/dist/types/components/common/interface/{interface-common.d.ts → interface-controller.d.ts} +14 -11
  189. package/dist/types/components.d.ts +0 -27
  190. package/dist/types/utils/accessibility-utils.d.ts +2 -1
  191. package/dist/types/utils/stencil-accessibility-utils.d.ts +2 -1
  192. package/docs/atomic-docs.json +31 -64
  193. package/package.json +6 -6
  194. package/dist/atomic/components/atomic-aria-live.d.ts +0 -11
  195. package/dist/atomic/components/atomic-aria-live.js +0 -8
  196. package/dist/atomic/components/atomic-aria-live.js.map +0 -1
  197. package/dist/atomic/components/atomic-aria-live2.js +0 -87
  198. package/dist/atomic/components/atomic-aria-live2.js.map +0 -1
  199. package/dist/atomic/components/components/common/atomic-icon/atomic-icon.tw.css.js +0 -2
  200. package/dist/atomic/components/components/common/interface/interface-common.js +0 -95
  201. package/dist/atomic/p-37b7705c.js +0 -2
  202. package/dist/atomic/p-37b7705c.js.map +0 -1
  203. package/dist/atomic/p-3f2442d3.entry.js +0 -2
  204. package/dist/atomic/p-3f2442d3.entry.js.map +0 -1
  205. package/dist/atomic/p-e790d557.entry.js +0 -2
  206. package/dist/atomic/p-efd2bb5f.entry.js +0 -2
  207. package/dist/cjs/atomic-aria-live_2.cjs.entry.js.map +0 -1
  208. package/dist/cjs/debounce-utils-e014935f.js +0 -49
  209. package/dist/cjs/debounce-utils-e014935f.js.map +0 -1
  210. package/dist/esm/atomic-aria-live_2.entry.js.map +0 -1
  211. package/dist/esm/debounce-utils-efa015c0.js +0 -46
  212. package/dist/types/components/search/atomic-search-interface/atomic-aria-live.d.ts +0 -23
  213. /package/dist/atomic/{p-1b491649.entry.js.map → p-0af927f0.entry.js.map} +0 -0
  214. /package/dist/atomic/{p-b043958c.entry.js.map → p-0b9cd281.entry.js.map} +0 -0
  215. /package/dist/atomic/{p-e44ba87e.entry.js.map → p-0f5ae66e.entry.js.map} +0 -0
  216. /package/dist/atomic/{p-0674783d.entry.js.map → p-1b329f85.entry.js.map} +0 -0
  217. /package/dist/atomic/{p-efd2bb5f.entry.js.map → p-306161d1.entry.js.map} +0 -0
  218. /package/dist/atomic/{p-f98f9a47.entry.js.map → p-3109f08a.entry.js.map} +0 -0
  219. /package/dist/atomic/{p-a0445771.entry.js.map → p-4c5702ba.entry.js.map} +0 -0
  220. /package/dist/atomic/{p-acc4d5de.js.map → p-53bcc515.js.map} +0 -0
  221. /package/dist/atomic/{p-e2560da8.entry.js.map → p-5f64bbe0.entry.js.map} +0 -0
  222. /package/dist/atomic/{p-fc73190d.entry.js.map → p-6638ca39.entry.js.map} +0 -0
  223. /package/dist/atomic/{p-1176959c.entry.js.map → p-6f8ae3d2.entry.js.map} +0 -0
  224. /package/dist/atomic/{p-0ed0e8b8.entry.js.map → p-731f82ed.entry.js.map} +0 -0
  225. /package/dist/atomic/{p-1875d417.entry.js.map → p-77d50766.entry.js.map} +0 -0
  226. /package/dist/atomic/{p-25f8b8d8.entry.js.map → p-7a07530d.entry.js.map} +0 -0
  227. /package/dist/atomic/{p-c8d47706.entry.js.map → p-7a5d346b.entry.js.map} +0 -0
  228. /package/dist/atomic/{p-1e0f2e91.entry.js.map → p-8434625a.entry.js.map} +0 -0
  229. /package/dist/atomic/{p-5b888121.entry.js.map → p-89721f11.entry.js.map} +0 -0
  230. /package/dist/atomic/{p-4539c722.js.map → p-8e30790c.js.map} +0 -0
  231. /package/dist/atomic/{p-29c272bb.entry.js.map → p-91d52cad.entry.js.map} +0 -0
  232. /package/dist/atomic/{p-11dd759c.entry.js.map → p-b1f7ac63.entry.js.map} +0 -0
  233. /package/dist/atomic/{p-9ec49e74.entry.js.map → p-b7358287.entry.js.map} +0 -0
  234. /package/dist/atomic/{p-5fc9f751.entry.js.map → p-bf5d5c79.entry.js.map} +0 -0
  235. /package/dist/atomic/{p-716e9e1d.entry.js.map → p-c0025d4c.entry.js.map} +0 -0
  236. /package/dist/atomic/{p-494c57a0.entry.js.map → p-e406cacd.entry.js.map} +0 -0
  237. /package/dist/atomic/{p-e790d557.entry.js.map → p-f0e861c5.entry.js.map} +0 -0
  238. /package/dist/atomic/{p-391c26ba.entry.js.map → p-f9bfd18b.entry.js.map} +0 -0
@@ -2,7 +2,7 @@ import { type CommerceEngine, type CommerceEngineConfiguration, type Context, ty
2
2
  import { type i18n } from 'i18next';
3
3
  import { type CSSResultGroup, LitElement } from 'lit';
4
4
  import type { CommonBindings } from '../../common/interface/bindings';
5
- import { type BaseAtomicInterface } from '../../common/interface/interface-common';
5
+ import { type BaseAtomicInterface } from '../../common/interface/interface-controller';
6
6
  import { type CommerceStore } from '../atomic-commerce-interface/store';
7
7
  export type CommerceInitializationOptions = CommerceEngineConfiguration;
8
8
  export type CommerceBindings = CommonBindings<CommerceEngine, CommerceStore, AtomicCommerceInterface>;
@@ -25,8 +25,8 @@ export declare class AtomicCommerceInterface extends AtomicCommerceInterface_bas
25
25
  private unsubscribeSummary?;
26
26
  private initialized;
27
27
  store: CommerceStore;
28
- private commonInterfaceHelper;
29
- error?: Error;
28
+ private interfaceController;
29
+ error: Error;
30
30
  static styles: CSSResultGroup;
31
31
  /**
32
32
  * The type of the interface.
@@ -107,7 +107,6 @@ export declare class AtomicCommerceInterface extends AtomicCommerceInterface_bas
107
107
  private getBindings;
108
108
  private initEngine;
109
109
  private get fragment();
110
- private initAriaLive;
111
110
  private initUrlManager;
112
111
  private initRequestStatus;
113
112
  private initSummary;
@@ -2,11 +2,11 @@ import { type CommerceEngine, type CommerceEngineConfiguration, type Context } f
2
2
  import type { CurrencyCodeISO4217 } from '@coveo/relay-event-types';
3
3
  import { type i18n } from 'i18next';
4
4
  import { type CSSResultGroup, LitElement } from 'lit';
5
- import type { AdoptedStylesBindings, CommonBindings } from '../../common/interface/bindings.js';
6
- import { type BaseAtomicInterface } from '../../common/interface/interface-common.js';
5
+ import type { CommonBindings } from '../../common/interface/bindings.js';
6
+ import { type BaseAtomicInterface } from '../../common/interface/interface-controller.js';
7
7
  import { type CommerceRecommendationStore } from './store.js';
8
8
  export type CommerceInitializationOptions = CommerceEngineConfiguration;
9
- export type CommerceBindings = CommonBindings<CommerceEngine, CommerceRecommendationStore, AtomicCommerceRecommendationInterface> & AdoptedStylesBindings;
9
+ export type CommerceBindings = CommonBindings<CommerceEngine, CommerceRecommendationStore, AtomicCommerceRecommendationInterface>;
10
10
  declare const AtomicCommerceRecommendationInterface_base: typeof LitElement;
11
11
  /**
12
12
  * The `atomic-commerce-recommendation-interface` component is meant to be used
@@ -16,10 +16,10 @@ declare const AtomicCommerceRecommendationInterface_base: typeof LitElement;
16
16
  */
17
17
  export declare class AtomicCommerceRecommendationInterface extends AtomicCommerceRecommendationInterface_base implements BaseAtomicInterface<CommerceEngine> {
18
18
  bindings: CommerceBindings;
19
- error?: Error;
19
+ error: Error;
20
20
  context: Context;
21
21
  store: CommerceRecommendationStore;
22
- private commonInterfaceHelper;
22
+ private interfaceController;
23
23
  static styles: CSSResultGroup;
24
24
  /**
25
25
  * The commerce interface i18next instance.
@@ -98,7 +98,6 @@ export declare class AtomicCommerceRecommendationInterface extends AtomicCommerc
98
98
  private handleInitialization;
99
99
  private scrollToTop;
100
100
  private internalInitialization;
101
- private initAriaLive;
102
101
  private initContext;
103
102
  private getBindings;
104
103
  private initLanguage;
@@ -3,6 +3,9 @@ import { type CSSResultGroup, LitElement } from 'lit';
3
3
  import type { InitializableComponent } from "../../../decorators/types";
4
4
  import { AriaLiveRegionController } from "../../../utils/accessibility-utils";
5
5
  import type { CommerceBindings } from '../atomic-commerce-interface/atomic-commerce-interface';
6
+ import '../atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products';
7
+ import '../atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions';
8
+ import '../atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries';
6
9
  /**
7
10
  * The `atomic-commerce-search-box` component enables users to perform product searches with built-in query suggestions and optional redirection to a search results page.
8
11
  *
@@ -0,0 +1,38 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * The `atomic-aria-live` component notifies screen readers of changes in the search and commerce interfaces.
4
+ *
5
+ * @event atomic/accessibility/findAriaLive - Dispatches an event to find the `atomic-aria-live` element.
6
+ */
7
+ export declare class AtomicAriaLive extends LitElement {
8
+ createRenderRoot(): this;
9
+ private regions;
10
+ private messagesQueue;
11
+ private ariaLiveId;
12
+ connectedCallback(): void;
13
+ disconnectedCallback(): void;
14
+ private onFindAriaLive;
15
+ /**
16
+ * Updates the message and assertiveness for a specific ARIA live region.
17
+ * If a message is provided, the update is debounced to avoid rapid changes.
18
+ * If the message is empty, any pending update is canceled and the region is cleared immediately.
19
+ *
20
+ * @param region - The name of the ARIA live region to update.
21
+ * @param message - The message to announce in the region.
22
+ * @param assertive - Whether the region should use 'assertive' or 'polite' mode.
23
+ */
24
+ updateMessage(region: string, message: string, assertive: boolean): void;
25
+ /**
26
+ * Registers a new ARIA live region if it does not already exist.
27
+ *
28
+ * @param region - The name of the ARIA live region to register.
29
+ * @param assertive - Whether the region should use 'assertive' or 'polite' mode.
30
+ */
31
+ registerRegion(region: string, assertive: boolean): void;
32
+ render(): import("lit-html").TemplateResult<1>;
33
+ }
34
+ declare global {
35
+ interface HTMLElementTagNameMap {
36
+ 'atomic-aria-live': AtomicAriaLive;
37
+ }
38
+ }
@@ -1,3 +1,4 @@
1
+ export { AtomicAriaLive } from './atomic-aria-live/atomic-aria-live.js';
1
2
  export { AtomicComponentError } from './atomic-component-error/atomic-component-error.js';
2
3
  export { AtomicIcon } from './atomic-icon/atomic-icon.js';
3
4
  export { AtomicLayoutSection } from './atomic-layout-section/atomic-layout-section.js';
@@ -1,6 +1,6 @@
1
1
  import { type HttpBackendOptions } from 'i18next-http-backend';
2
2
  import type { AnyEngineType } from './bindings';
3
- import type { BaseAtomicInterface } from './interface-common';
3
+ import type { BaseAtomicInterface } from './interface-controller';
4
4
  export declare const i18nTranslationNamespace = "translation";
5
5
  export declare function i18nBackendOptions(atomicInterface: BaseAtomicInterface<AnyEngineType>): HttpBackendOptions;
6
6
  export declare function init18n(atomicInterface: BaseAtomicInterface<AnyEngineType>): Promise<import("i18next").TFunction<"translation", undefined>>;
@@ -1,33 +1,36 @@
1
- import "../atomic-component-error/atomic-component-error.js";
2
1
  import type { LogLevel } from '@coveo/headless';
3
2
  import type { i18n } from 'i18next';
4
- import type { AnyBindings, AnyEngineType } from "./bindings.js";
3
+ import type { LitElement, ReactiveController } from 'lit';
4
+ import type { AnyBindings, AnyEngineType } from './bindings';
5
5
  export type InitializeEventHandler = (bindings: AnyBindings) => void;
6
6
  export type InitializeEvent = CustomEvent<InitializeEventHandler>;
7
7
  export interface BaseAtomicInterface<EngineType extends AnyEngineType> {
8
8
  analytics: boolean;
9
9
  i18n: i18n;
10
- engine?: EngineType;
11
10
  languageAssetsPath: string;
12
11
  iconAssetsPath: string;
13
- logLevel?: LogLevel;
14
- language?: string;
15
12
  bindings: AnyBindings;
16
- error?: Error;
17
13
  updateIconAssetsPath(): void;
14
+ error: Error;
15
+ engine?: EngineType;
16
+ logLevel?: LogLevel;
17
+ language?: string;
18
18
  registerFieldsToInclude?: () => void;
19
19
  }
20
- export declare const mismatchedInterfaceAndEnginePropError: (interfaceKind: "search" | "recommendation", configurationName: "query pipeline" | "search hub") => string;
21
- export declare class CommonAtomicInterfaceHelper<Engine extends AnyEngineType> {
22
- private atomicInterface;
20
+ export declare class InterfaceController<EngineType extends AnyEngineType> implements ReactiveController {
21
+ private host;
23
22
  private i18nPromise;
24
23
  private hangingComponentsInitialization;
25
- constructor(atomicInterface: BaseAtomicInterface<Engine> & HTMLElement, globalVariableName: string);
24
+ constructor(host: LitElement & BaseAtomicInterface<EngineType>, globalVariableName: string);
25
+ hostConnected(): void;
26
+ hostDisconnected(): void;
26
27
  onComponentInitializing(event: InitializeEvent): void;
27
28
  onInitialization(initEngine: () => void): Promise<void>;
28
29
  onAnalyticsChange(): void;
29
30
  onLanguageChange(newLanguage?: string): void;
30
- engineIsCreated(engine?: Engine): engine is Engine;
31
+ engineIsCreated(engine?: EngineType): engine is EngineType;
31
32
  private get interfaceTagname();
32
33
  private initComponents;
34
+ private initAriaLive;
35
+ private removeAriaLive;
33
36
  }
@@ -58,13 +58,6 @@ export { InitializationOptions } from "./components/search/atomic-search-interfa
58
58
  export { StandaloneSearchBoxData } from "./utils/local-storage-utils";
59
59
  export { SearchBoxSuggestionElement } from "./components/common/suggestions/suggestions-common";
60
60
  export namespace Components {
61
- /**
62
- * The `atomic-aria-live` component notifies screen readers of changes in the search interface.
63
- */
64
- interface AtomicAriaLive {
65
- "registerRegion": (region: string, assertive: boolean) => Promise<void>;
66
- "updateMessage": (region: string, message: string, assertive: boolean) => Promise<void>;
67
- }
68
61
  /**
69
62
  * An automatic facet is a special type of facet generated by the automatic facets feature.
70
63
  * Unlike regular facets, which need to be explicitly defined and requested in the query,
@@ -3315,15 +3308,6 @@ export interface AtomicSmartSnippetSourceCustomEvent<T> extends CustomEvent<T> {
3315
3308
  target: HTMLAtomicSmartSnippetSourceElement;
3316
3309
  }
3317
3310
  declare global {
3318
- /**
3319
- * The `atomic-aria-live` component notifies screen readers of changes in the search interface.
3320
- */
3321
- interface HTMLAtomicAriaLiveElement extends Components.AtomicAriaLive, HTMLStencilElement {
3322
- }
3323
- var HTMLAtomicAriaLiveElement: {
3324
- prototype: HTMLAtomicAriaLiveElement;
3325
- new (): HTMLAtomicAriaLiveElement;
3326
- };
3327
3311
  /**
3328
3312
  * An automatic facet is a special type of facet generated by the automatic facets feature.
3329
3313
  * Unlike regular facets, which need to be explicitly defined and requested in the query,
@@ -5115,7 +5099,6 @@ declare global {
5115
5099
  new (): HTMLAtomicTimeframeFacetElement;
5116
5100
  };
5117
5101
  interface HTMLElementTagNameMap {
5118
- "atomic-aria-live": HTMLAtomicAriaLiveElement;
5119
5102
  "atomic-automatic-facet": HTMLAtomicAutomaticFacetElement;
5120
5103
  "atomic-automatic-facet-generator": HTMLAtomicAutomaticFacetGeneratorElement;
5121
5104
  "atomic-breadbox": HTMLAtomicBreadboxElement;
@@ -5284,11 +5267,6 @@ declare global {
5284
5267
  }
5285
5268
  }
5286
5269
  declare namespace LocalJSX {
5287
- /**
5288
- * The `atomic-aria-live` component notifies screen readers of changes in the search interface.
5289
- */
5290
- interface AtomicAriaLive {
5291
- }
5292
5270
  /**
5293
5271
  * An automatic facet is a special type of facet generated by the automatic facets feature.
5294
5272
  * Unlike regular facets, which need to be explicitly defined and requested in the query,
@@ -8317,7 +8295,6 @@ declare namespace LocalJSX {
8317
8295
  "withDatePicker"?: boolean;
8318
8296
  }
8319
8297
  interface IntrinsicElements {
8320
- "atomic-aria-live": AtomicAriaLive;
8321
8298
  "atomic-automatic-facet": AtomicAutomaticFacet;
8322
8299
  "atomic-automatic-facet-generator": AtomicAutomaticFacetGenerator;
8323
8300
  "atomic-breadbox": AtomicBreadbox;
@@ -8489,10 +8466,6 @@ export { LocalJSX as JSX };
8489
8466
  declare module "@stencil/core" {
8490
8467
  export namespace JSX {
8491
8468
  interface IntrinsicElements {
8492
- /**
8493
- * The `atomic-aria-live` component notifies screen readers of changes in the search interface.
8494
- */
8495
- "atomic-aria-live": LocalJSX.AtomicAriaLive & JSXBase.HTMLAttributes<HTMLAtomicAriaLiveElement>;
8496
8469
  /**
8497
8470
  * An automatic facet is a special type of facet generated by the automatic facets feature.
8498
8471
  * Unlike regular facets, which need to be explicitly defined and requested in the query,
@@ -1,7 +1,8 @@
1
1
  import type { ReactiveController, ReactiveControllerHost } from 'lit';
2
2
  import type { AnyBindings } from '../components';
3
+ import type { AtomicAriaLive } from '../components/common/atomic-aria-live/atomic-aria-live';
3
4
  export interface FindAriaLiveEventArgs {
4
- element?: HTMLAtomicAriaLiveElement;
5
+ element?: AtomicAriaLive;
5
6
  }
6
7
  export declare class AriaLiveRegionController implements ReactiveController {
7
8
  private host;
@@ -1,10 +1,11 @@
1
+ import { AtomicAriaLive } from '../components/common/atomic-aria-live/atomic-aria-live';
1
2
  import { AnyBindings } from '../components/common/interface/bindings';
2
3
  import { InitializableComponent } from './initialization-utils';
3
4
  /**
4
5
  * @deprecated use Lit equivalent
5
6
  */
6
7
  export interface FindAriaLiveEventArgs {
7
- element?: HTMLAtomicAriaLiveElement;
8
+ element?: AtomicAriaLive;
8
9
  }
9
10
  /**
10
11
  * @deprecated use Lit equivalent
@@ -1,42 +1,11 @@
1
1
  {
2
- "timestamp": "2025-07-30T19:48:14",
2
+ "timestamp": "2025-07-31T15:56:26",
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
- {
10
- "filePath": "src/components/search/atomic-search-interface/atomic-aria-live.tsx",
11
- "encapsulation": "none",
12
- "tag": "atomic-aria-live",
13
- "docs": "The `atomic-aria-live` component notifies screen readers of changes in the search interface.",
14
- "docsTags": [],
15
- "usage": {},
16
- "props": [],
17
- "methods": [],
18
- "events": [],
19
- "listeners": [
20
- {
21
- "event": "atomic/accessibility/findAriaLive",
22
- "target": "document",
23
- "capture": false,
24
- "passive": false
25
- }
26
- ],
27
- "styles": [],
28
- "slots": [],
29
- "parts": [],
30
- "dependents": [
31
- "atomic-search-interface"
32
- ],
33
- "dependencies": [],
34
- "dependencyGraph": {
35
- "atomic-search-interface": [
36
- "atomic-aria-live"
37
- ]
38
- }
39
- },
40
9
  {
41
10
  "filePath": "src/components/search/facets/atomic-automatic-facet/atomic-automatic-facet.tsx",
42
11
  "encapsulation": "shadow",
@@ -7240,10 +7209,10 @@
7240
7209
  "props": [
7241
7210
  {
7242
7211
  "name": "imageSize",
7243
- "type": "undefined | ({ readonly [x: number]: string; [Symbol.iterator]: () => IterableIterator<string>; normalize: { (form: \"NFC\" | \"NFD\" | \"NFKC\" | \"NFKD\"): string; (form?: string | undefined): string; }; charAt: (pos: number) => string; charCodeAt: (index: number) => number; concat: (...strings: string[]) => string; indexOf: (searchString: string, position?: number | undefined) => number; lastIndexOf: (searchString: string, position?: number | undefined) => number; localeCompare: { (that: string): number; (that: string, locales?: string | string[] | undefined, options?: CollatorOptions | undefined): number; (that: string, locales?: LocalesArgument, options?: CollatorOptions | undefined): number; }; match: { (regexp: string | RegExp): RegExpMatchArray | null; (matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null; }; replace: { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string; (searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string; }; search: { (regexp: string | RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }; slice: (start?: number | undefined, end?: number | undefined) => string; split: { (separator: string | RegExp, limit?: number | undefined): string[]; (splitter: { [Symbol.split](string: string, limit?: number | undefined): string[]; }, limit?: number | undefined): string[]; }; substring: (start: number, end?: number | undefined) => string; toLowerCase: () => string; toLocaleLowerCase: { (locales?: string | string[] | undefined): string; (locales?: LocalesArgument): string; }; toUpperCase: () => string; toLocaleUpperCase: { (locales?: string | string[] | undefined): string; (locales?: LocalesArgument): string; }; trim: () => string; readonly length: number; substr: (from: number, length?: number | undefined) => string; codePointAt: (pos: number) => number | undefined; includes: (searchString: string, position?: number | undefined) => boolean; endsWith: (searchString: string, endPosition?: number | undefined) => boolean; repeat: (count: number) => string; startsWith: (searchString: string, position?: number | undefined) => boolean; anchor: (name: string) => string; big: () => string; blink: () => string; bold: () => string; fixed: () => string; fontcolor: (color: string) => string; fontsize: { (size: number): string; (size: string): string; }; italics: () => string; link: (url: string) => string; small: () => string; strike: () => string; sub: () => string; sup: () => string; padStart: { (maxLength: number, fillString?: string | undefined): string; (length: number, fillStr?: string | undefined): string; }; padEnd: { (maxLength: number, fillString?: string | undefined): string; (length: number, fillStr?: string | undefined): string; }; trimEnd: () => string; trimStart: () => string; trimLeft: () => string; trimRight: () => string; matchAll: (regexp: RegExp) => IterableIterator<RegExpExecArray>; replaceAll: { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; }; at: { (index: number): string | undefined; (index: number): string; }; escapeHTML: () => string; unescapeHTML: () => string; toString: () => string; valueOf: () => string; })",
7212
+ "type": "undefined | ({ readonly [x: number]: string; [Symbol.iterator]: () => IterableIterator<string>; readonly length: number; toString: () => string; concat: (...strings: string[]) => string; slice: (start?: number | undefined, end?: number | undefined) => string; indexOf: (searchString: string, position?: number | undefined) => number; lastIndexOf: (searchString: string, position?: number | undefined) => number; includes: (searchString: string, position?: number | undefined) => boolean; at: { (index: number): string | undefined; (index: number): string; }; link: (url: string) => string; search: { (regexp: string | RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }; small: () => string; sub: () => string; sup: () => string; big: () => string; blink: () => string; strike: () => string; normalize: { (form: \"NFC\" | \"NFD\" | \"NFKC\" | \"NFKD\"): string; (form?: string | undefined): string; }; charAt: (pos: number) => string; charCodeAt: (index: number) => number; localeCompare: { (that: string): number; (that: string, locales?: string | string[] | undefined, options?: CollatorOptions | undefined): number; (that: string, locales?: LocalesArgument, options?: CollatorOptions | undefined): number; }; match: { (regexp: string | RegExp): RegExpMatchArray | null; (matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null; }; replace: { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string; (searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string; }; split: { (separator: string | RegExp, limit?: number | undefined): string[]; (splitter: { [Symbol.split](string: string, limit?: number | undefined): string[]; }, limit?: number | undefined): string[]; }; substring: (start: number, end?: number | undefined) => string; toLowerCase: () => string; toLocaleLowerCase: { (locales?: string | string[] | undefined): string; (locales?: LocalesArgument): string; }; toUpperCase: () => string; toLocaleUpperCase: { (locales?: string | string[] | undefined): string; (locales?: LocalesArgument): string; }; trim: () => string; substr: (from: number, length?: number | undefined) => string; codePointAt: (pos: number) => number | undefined; endsWith: (searchString: string, endPosition?: number | undefined) => boolean; repeat: (count: number) => string; startsWith: (searchString: string, position?: number | undefined) => boolean; anchor: (name: string) => string; bold: () => string; fixed: () => string; fontcolor: (color: string) => string; fontsize: { (size: number): string; (size: string): string; }; italics: () => string; padStart: { (maxLength: number, fillString?: string | undefined): string; (length: number, fillStr?: string | undefined): string; }; padEnd: { (maxLength: number, fillString?: string | undefined): string; (length: number, fillStr?: string | undefined): string; }; trimEnd: () => string; trimStart: () => string; trimLeft: () => string; trimRight: () => string; matchAll: (regexp: RegExp) => IterableIterator<RegExpExecArray>; replaceAll: { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; }; escapeHTML: () => string; unescapeHTML: () => string; valueOf: () => string; })",
7244
7213
  "complexType": {
7245
7214
  "original": "Omit<ItemDisplayImageSize, 'icon'>",
7246
- "resolved": "undefined | ({ readonly [x: number]: string; [Symbol.iterator]: () => IterableIterator<string>; normalize: { (form: \"NFC\" | \"NFD\" | \"NFKC\" | \"NFKD\"): string; (form?: string | undefined): string; }; charAt: (pos: number) => string; charCodeAt: (index: number) => number; concat: (...strings: string[]) => string; indexOf: (searchString: string, position?: number | undefined) => number; lastIndexOf: (searchString: string, position?: number | undefined) => number; localeCompare: { (that: string): number; (that: string, locales?: string | string[] | undefined, options?: CollatorOptions | undefined): number; (that: string, locales?: LocalesArgument, options?: CollatorOptions | undefined): number; }; match: { (regexp: string | RegExp): RegExpMatchArray | null; (matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null; }; replace: { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string; (searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string; }; search: { (regexp: string | RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }; slice: (start?: number | undefined, end?: number | undefined) => string; split: { (separator: string | RegExp, limit?: number | undefined): string[]; (splitter: { [Symbol.split](string: string, limit?: number | undefined): string[]; }, limit?: number | undefined): string[]; }; substring: (start: number, end?: number | undefined) => string; toLowerCase: () => string; toLocaleLowerCase: { (locales?: string | string[] | undefined): string; (locales?: LocalesArgument): string; }; toUpperCase: () => string; toLocaleUpperCase: { (locales?: string | string[] | undefined): string; (locales?: LocalesArgument): string; }; trim: () => string; readonly length: number; substr: (from: number, length?: number | undefined) => string; codePointAt: (pos: number) => number | undefined; includes: (searchString: string, position?: number | undefined) => boolean; endsWith: (searchString: string, endPosition?: number | undefined) => boolean; repeat: (count: number) => string; startsWith: (searchString: string, position?: number | undefined) => boolean; anchor: (name: string) => string; big: () => string; blink: () => string; bold: () => string; fixed: () => string; fontcolor: (color: string) => string; fontsize: { (size: number): string; (size: string): string; }; italics: () => string; link: (url: string) => string; small: () => string; strike: () => string; sub: () => string; sup: () => string; padStart: { (maxLength: number, fillString?: string | undefined): string; (length: number, fillStr?: string | undefined): string; }; padEnd: { (maxLength: number, fillString?: string | undefined): string; (length: number, fillStr?: string | undefined): string; }; trimEnd: () => string; trimStart: () => string; trimLeft: () => string; trimRight: () => string; matchAll: (regexp: RegExp) => IterableIterator<RegExpExecArray>; replaceAll: { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; }; at: { (index: number): string | undefined; (index: number): string; }; escapeHTML: () => string; unescapeHTML: () => string; toString: () => string; valueOf: () => string; })",
7215
+ "resolved": "undefined | ({ readonly [x: number]: string; [Symbol.iterator]: () => IterableIterator<string>; readonly length: number; toString: () => string; concat: (...strings: string[]) => string; slice: (start?: number | undefined, end?: number | undefined) => string; indexOf: (searchString: string, position?: number | undefined) => number; lastIndexOf: (searchString: string, position?: number | undefined) => number; includes: (searchString: string, position?: number | undefined) => boolean; at: { (index: number): string | undefined; (index: number): string; }; link: (url: string) => string; search: { (regexp: string | RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }; small: () => string; sub: () => string; sup: () => string; big: () => string; blink: () => string; strike: () => string; normalize: { (form: \"NFC\" | \"NFD\" | \"NFKC\" | \"NFKD\"): string; (form?: string | undefined): string; }; charAt: (pos: number) => string; charCodeAt: (index: number) => number; localeCompare: { (that: string): number; (that: string, locales?: string | string[] | undefined, options?: CollatorOptions | undefined): number; (that: string, locales?: LocalesArgument, options?: CollatorOptions | undefined): number; }; match: { (regexp: string | RegExp): RegExpMatchArray | null; (matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null; }; replace: { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string; (searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string; }; split: { (separator: string | RegExp, limit?: number | undefined): string[]; (splitter: { [Symbol.split](string: string, limit?: number | undefined): string[]; }, limit?: number | undefined): string[]; }; substring: (start: number, end?: number | undefined) => string; toLowerCase: () => string; toLocaleLowerCase: { (locales?: string | string[] | undefined): string; (locales?: LocalesArgument): string; }; toUpperCase: () => string; toLocaleUpperCase: { (locales?: string | string[] | undefined): string; (locales?: LocalesArgument): string; }; trim: () => string; substr: (from: number, length?: number | undefined) => string; codePointAt: (pos: number) => number | undefined; endsWith: (searchString: string, endPosition?: number | undefined) => boolean; repeat: (count: number) => string; startsWith: (searchString: string, position?: number | undefined) => boolean; anchor: (name: string) => string; bold: () => string; fixed: () => string; fontcolor: (color: string) => string; fontsize: { (size: number): string; (size: string): string; }; italics: () => string; padStart: { (maxLength: number, fillString?: string | undefined): string; (length: number, fillStr?: string | undefined): string; }; padEnd: { (maxLength: number, fillString?: string | undefined): string; (length: number, fillStr?: string | undefined): string; }; trimEnd: () => string; trimStart: () => string; trimLeft: () => string; trimRight: () => string; matchAll: (regexp: RegExp) => IterableIterator<RegExpExecArray>; replaceAll: { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; }; escapeHTML: () => string; unescapeHTML: () => string; valueOf: () => string; })",
7247
7216
  "references": {
7248
7217
  "Omit": {
7249
7218
  "location": "global",
@@ -7265,7 +7234,28 @@
7265
7234
  "type": "undefined"
7266
7235
  },
7267
7236
  {
7268
- "type": "({ readonly [x: number]: string; [Symbol.iterator]: () => IterableIterator<string>; normalize: { (form: \"NFC\""
7237
+ "type": "({ readonly [x: number]: string; [Symbol.iterator]: () => IterableIterator<string>; readonly length: number; toString: () => string; concat: (...strings: string[]) => string; slice: (start?: number"
7238
+ },
7239
+ {
7240
+ "type": "undefined, end?: number"
7241
+ },
7242
+ {
7243
+ "type": "undefined) => string; indexOf: (searchString: string, position?: number"
7244
+ },
7245
+ {
7246
+ "type": "undefined) => number; lastIndexOf: (searchString: string, position?: number"
7247
+ },
7248
+ {
7249
+ "type": "undefined) => number; includes: (searchString: string, position?: number"
7250
+ },
7251
+ {
7252
+ "type": "undefined) => boolean; at: { (index: number): string"
7253
+ },
7254
+ {
7255
+ "type": "undefined; (index: number): string; }; link: (url: string) => string; search: { (regexp: string"
7256
+ },
7257
+ {
7258
+ "type": "RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }; small: () => string; sub: () => string; sup: () => string; big: () => string; blink: () => string; strike: () => string; normalize: { (form: \"NFC\""
7269
7259
  },
7270
7260
  {
7271
7261
  "value": "NFD",
@@ -7279,13 +7269,7 @@
7279
7269
  "type": "\"NFKD\"): string; (form?: string"
7280
7270
  },
7281
7271
  {
7282
- "type": "undefined): string; }; charAt: (pos: number) => string; charCodeAt: (index: number) => number; concat: (...strings: string[]) => string; indexOf: (searchString: string, position?: number"
7283
- },
7284
- {
7285
- "type": "undefined) => number; lastIndexOf: (searchString: string, position?: number"
7286
- },
7287
- {
7288
- "type": "undefined) => number; localeCompare: { (that: string): number; (that: string, locales?: string"
7272
+ "type": "undefined): string; }; charAt: (pos: number) => string; charCodeAt: (index: number) => number; localeCompare: { (that: string): number; (that: string, locales?: string"
7289
7273
  },
7290
7274
  {
7291
7275
  "type": "string[]"
@@ -7315,16 +7299,7 @@
7315
7299
  "type": "RegExp, replaceValue: string): string; (searchValue: string"
7316
7300
  },
7317
7301
  {
7318
- "type": "RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string; (searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string; }; search: { (regexp: string"
7319
- },
7320
- {
7321
- "type": "RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }; slice: (start?: number"
7322
- },
7323
- {
7324
- "type": "undefined, end?: number"
7325
- },
7326
- {
7327
- "type": "undefined) => string; split: { (separator: string"
7302
+ "type": "RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string; (searchValue: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string; }, replacer: (substring: string, ...args: any[]) => string): string; }; split: { (separator: string"
7328
7303
  },
7329
7304
  {
7330
7305
  "type": "RegExp, limit?: number"
@@ -7351,22 +7326,19 @@
7351
7326
  "type": "string[]"
7352
7327
  },
7353
7328
  {
7354
- "type": "undefined): string; (locales?: LocalesArgument): string; }; trim: () => string; readonly length: number; substr: (from: number, length?: number"
7329
+ "type": "undefined): string; (locales?: LocalesArgument): string; }; trim: () => string; substr: (from: number, length?: number"
7355
7330
  },
7356
7331
  {
7357
7332
  "type": "undefined) => string; codePointAt: (pos: number) => number"
7358
7333
  },
7359
7334
  {
7360
- "type": "undefined; includes: (searchString: string, position?: number"
7361
- },
7362
- {
7363
- "type": "undefined) => boolean; endsWith: (searchString: string, endPosition?: number"
7335
+ "type": "undefined; endsWith: (searchString: string, endPosition?: number"
7364
7336
  },
7365
7337
  {
7366
7338
  "type": "undefined) => boolean; repeat: (count: number) => string; startsWith: (searchString: string, position?: number"
7367
7339
  },
7368
7340
  {
7369
- "type": "undefined) => boolean; anchor: (name: string) => string; big: () => string; blink: () => string; bold: () => string; fixed: () => string; fontcolor: (color: string) => string; fontsize: { (size: number): string; (size: string): string; }; italics: () => string; link: (url: string) => string; small: () => string; strike: () => string; sub: () => string; sup: () => string; padStart: { (maxLength: number, fillString?: string"
7341
+ "type": "undefined) => boolean; anchor: (name: string) => string; bold: () => string; fixed: () => string; fontcolor: (color: string) => string; fontsize: { (size: number): string; (size: string): string; }; italics: () => string; padStart: { (maxLength: number, fillString?: string"
7370
7342
  },
7371
7343
  {
7372
7344
  "type": "undefined): string; (length: number, fillStr?: string"
@@ -7384,10 +7356,7 @@
7384
7356
  "type": "RegExp, replaceValue: string): string; (searchValue: string"
7385
7357
  },
7386
7358
  {
7387
- "type": "RegExp, replacer: (substring: string, ...args: any[]) => string): string; }; at: { (index: number): string"
7388
- },
7389
- {
7390
- "type": "undefined; (index: number): string; }; escapeHTML: () => string; unescapeHTML: () => string; toString: () => string; valueOf: () => string; })"
7359
+ "type": "RegExp, replacer: (substring: string, ...args: any[]) => string): string; }; escapeHTML: () => string; unescapeHTML: () => string; valueOf: () => string; })"
7391
7360
  }
7392
7361
  ],
7393
7362
  "optional": true,
@@ -14942,12 +14911,10 @@
14942
14911
  "parts": [],
14943
14912
  "dependents": [],
14944
14913
  "dependencies": [
14945
- "atomic-aria-live",
14946
14914
  "atomic-relevance-inspector"
14947
14915
  ],
14948
14916
  "dependencyGraph": {
14949
14917
  "atomic-search-interface": [
14950
- "atomic-aria-live",
14951
14918
  "atomic-relevance-inspector"
14952
14919
  ],
14953
14920
  "atomic-relevance-inspector": [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coveo/atomic",
3
3
  "type": "module",
4
- "version": "3.31.2-pre.2508f3c16d",
4
+ "version": "3.31.2-pre.2a7191c8ee",
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": {
@@ -72,7 +72,7 @@
72
72
  "dependencies": {
73
73
  "@lit/context": "1.1.6",
74
74
  "@coveo/bueno": "1.0.24",
75
- "@coveo/headless": "3.27.7",
75
+ "@coveo/headless": "3.27.8-pre.2a7191c8ee",
76
76
  "@popperjs/core": "2.11.8",
77
77
  "@salesforce-ux/design-system": "2.27.2",
78
78
  "@stencil/core": "4.20.0",
@@ -116,7 +116,7 @@
116
116
  "@types/escape-html": "1.0.4",
117
117
  "@types/jest": "29.5.12",
118
118
  "@types/lodash": "4.17.20",
119
- "@types/node": "22.16.4",
119
+ "@types/node": "22.16.5",
120
120
  "@types/postcss-import": "14.0.3",
121
121
  "@types/puppeteer": "7.0.4",
122
122
  "@vitest/browser": "3.2.4",
@@ -141,7 +141,7 @@
141
141
  "postcss": "8.5.6",
142
142
  "postcss-load-config": "6.0.1",
143
143
  "postcss-nested": "7.0.2",
144
- "puppeteer": "24.13.0",
144
+ "puppeteer": "24.15.0",
145
145
  "react": "19.1.0",
146
146
  "rollup": "4.45.0",
147
147
  "rollup-plugin-copy": "3.5.0",
@@ -154,11 +154,11 @@
154
154
  "typescript": "5.8.3",
155
155
  "vite": "6.3.5",
156
156
  "vitest": "3.2.4",
157
- "wait-on": "8.0.3"
157
+ "wait-on": "8.0.4"
158
158
  },
159
159
  "peerDependencies": {
160
160
  "@coveo/bueno": "1.0.24",
161
- "@coveo/headless": "3.27.7",
161
+ "@coveo/headless": "3.27.8-pre.2a7191c8ee",
162
162
  "typescript": ">=5.0.0"
163
163
  },
164
164
  "peerDependenciesMeta": {
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../../types/components";
2
-
3
- interface AtomicAriaLive extends Components.AtomicAriaLive, HTMLElement {}
4
- export const AtomicAriaLive: {
5
- prototype: AtomicAriaLive;
6
- new (): AtomicAriaLive;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,8 +0,0 @@
1
- import { A as AtomicAriaLive$1, d as defineCustomElement$1 } from './atomic-aria-live2.js';
2
-
3
- const AtomicAriaLive = AtomicAriaLive$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { AtomicAriaLive, defineCustomElement };
7
-
8
- //# sourceMappingURL=atomic-aria-live.js.map
@@ -1 +0,0 @@
1
- {"file":"atomic-aria-live.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1,87 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { b as buildDebouncedQueue } from './debounce-utils.js';
3
- import { r as randomID } from './utils.js';
4
-
5
- const AtomicAriaLive = /*@__PURE__*/ proxyCustomElement(class AtomicAriaLive extends HTMLElement {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.regions = {};
10
- this.messagesQueue = buildDebouncedQueue({ delay: 500 });
11
- this.regions = {};
12
- }
13
- onFindAriaLive({ detail: args }) {
14
- if (!args.element || !this.isInSearchInterface) {
15
- args.element = this.host;
16
- }
17
- }
18
- get isInSearchInterface() {
19
- let element = this.host;
20
- while (element) {
21
- if (element.tagName === 'ATOMIC-SEARCH-INTERFACE') {
22
- return true;
23
- }
24
- element = element.parentElement;
25
- }
26
- return false;
27
- }
28
- connectedCallback() {
29
- this.id = randomID('atomic-aria-live-');
30
- }
31
- /**
32
- * @internal
33
- */
34
- async updateMessage(region, message, assertive) {
35
- const updateRegion = () => (this.regions = { ...this.regions, [region]: { assertive, message } });
36
- if (message) {
37
- this.messagesQueue.enqueue(updateRegion, region);
38
- }
39
- else {
40
- this.messagesQueue.cancelActionIfQueued(region);
41
- updateRegion();
42
- }
43
- }
44
- /**
45
- * @internal
46
- */
47
- async registerRegion(region, assertive) {
48
- if (region in this.regions) {
49
- return;
50
- }
51
- this.regions = { ...this.regions, [region]: { assertive, message: '' } };
52
- }
53
- disconnectedCallback() {
54
- this.messagesQueue.clear();
55
- }
56
- render() {
57
- return (h(Host, { key: '5351e58c1abf430a4c9086b313690cdc7b5fc848', style: {
58
- position: 'absolute',
59
- display: 'block',
60
- height: '0',
61
- overflow: 'hidden',
62
- margin: '0',
63
- } }, Object.entries(this.regions).map(([regionName, { assertive, message }]) => (h("div", { key: regionName, id: `${this.id}-${regionName}`, "aria-live": assertive ? 'assertive' : 'polite', role: "status" }, message)))));
64
- }
65
- get host() { return this; }
66
- }, [0, "atomic-aria-live", {
67
- "regions": [32],
68
- "updateMessage": [64],
69
- "registerRegion": [64]
70
- }, [[4, "atomic/accessibility/findAriaLive", "onFindAriaLive"]]]);
71
- function defineCustomElement() {
72
- if (typeof customElements === "undefined") {
73
- return;
74
- }
75
- const components = ["atomic-aria-live"];
76
- components.forEach(tagName => { switch (tagName) {
77
- case "atomic-aria-live":
78
- if (!customElements.get(tagName)) {
79
- customElements.define(tagName, AtomicAriaLive);
80
- }
81
- break;
82
- } });
83
- }
84
-
85
- export { AtomicAriaLive as A, defineCustomElement as d };
86
-
87
- //# sourceMappingURL=atomic-aria-live2.js.map