@coveo/atomic 3.31.2-pre.e0817d0aee → 3.31.2-pre.e230d921d8
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.
- package/dist/atomic/_atomic.esm.js +1 -1
- package/dist/atomic/atomic.esm.js.map +1 -1
- package/dist/atomic/components/_index.d.ts +0 -4
- package/dist/atomic/components/_index.js +1 -4
- package/dist/atomic/components/analytics-config.js +1 -1
- package/dist/atomic/components/atomic-category-facet.js +1 -1
- package/dist/atomic/components/atomic-facet.js +1 -1
- package/dist/atomic/components/atomic-format-currency.js +1 -1
- package/dist/atomic/components/atomic-format-number.js +1 -1
- package/dist/atomic/components/atomic-format-unit.js +1 -1
- package/dist/atomic/components/atomic-numeric-facet.js +1 -1
- package/dist/atomic/components/atomic-product-rating.js +34 -2
- package/dist/atomic/components/atomic-product-rating.js.map +1 -1
- package/dist/atomic/components/atomic-quickview-modal2.js +1 -1
- package/dist/atomic/components/atomic-quickview.js +1 -1
- package/dist/atomic/components/atomic-result-children.js +1 -1
- package/dist/atomic/components/atomic-result-fields-list.js +1 -1
- package/dist/atomic/components/atomic-result-link.js +1 -1
- package/dist/atomic/components/atomic-result-list.js +1 -1
- package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
- package/dist/atomic/components/atomic-search-box-recent-queries2.js +1 -1
- package/dist/atomic/components/atomic-search-interface.js +1 -7
- package/dist/atomic/components/atomic-search-interface.js.map +1 -1
- package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
- package/dist/atomic/components/atomic-sort-dropdown.js +2 -2
- package/dist/atomic/components/atomic-sort-expression.js +1 -1
- package/dist/atomic/components/atomic-tab-manager.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +15 -26
- package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-layout/atomic-commerce-layout.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-load-more-products/atomic-commerce-load-more-products.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-product-list/atomic-commerce-product-list.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-query-summary/atomic-commerce-query-summary.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.js +16 -35
- package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-list/atomic-commerce-recommendation-list.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-refine-modal/atomic-commerce-refine-modal.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-refine-toggle/atomic-commerce-refine-toggle.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +3 -0
- package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-sort-dropdown/atomic-commerce-sort-dropdown.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product/atomic-product.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-children/atomic-product-children.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-description/atomic-product-description.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-excerpt/atomic-product-excerpt.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-field-condition/atomic-product-field-condition.js +70 -0
- package/dist/atomic/components/components/commerce/atomic-product-link/atomic-product-link.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-multi-value-text/atomic-product-multi-value-text.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-price/atomic-product-price.tw.css.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-template/atomic-product-template.js +1 -0
- package/dist/atomic/components/components/commerce/index.js +1 -0
- package/dist/atomic/components/components/commerce/lazy-index.js +1 -0
- package/dist/atomic/components/components/common/atomic-aria-live/atomic-aria-live.js +102 -0
- package/dist/atomic/components/components/common/atomic-icon/atomic-icon.tw.css.js +1 -1
- package/dist/atomic/components/components/common/facets/facet-common.tw.css.js +1 -1
- package/dist/atomic/components/components/common/facets/facet-search/facet-search.tw.css.js +1 -1
- package/dist/atomic/components/components/common/facets/facet-value-box/facet-value-box.tw.css.js +1 -1
- package/dist/atomic/components/components/common/facets/facet-value-checkbox/facet-value-checkbox.tw.css.js +1 -1
- package/dist/atomic/components/components/common/facets/facet-value-exclude/facet-value-exclude.tw.css.js +1 -1
- package/dist/atomic/components/components/common/index.js +1 -0
- package/dist/atomic/components/components/common/interface/interface-controller.js +89 -0
- package/dist/atomic/components/components/common/lazy-index.js +1 -0
- package/dist/atomic/components/components/common/refine-modal/refine-modal-common.tw.css.js +1 -1
- package/dist/atomic/components/debounce-utils.js +1 -34
- package/dist/atomic/components/debounce-utils.js.map +1 -1
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/atomic/components/global/tailwind.default.css.js +1 -1
- package/dist/atomic/components/index.js.map +1 -1
- package/dist/atomic/components/stencil-accessibility-utils.js.map +1 -1
- package/dist/atomic/components/themes/accessible.css.js +1 -1
- package/dist/atomic/components/themes/coveo.css.js +1 -1
- package/dist/atomic/components/utils/coveo.tw.css.js +1 -1
- package/dist/atomic/components/utils/tailwind-utilities/aspect-square.tw.css.js +1 -1
- package/dist/atomic/components/utils/tailwind-utilities/components.tw.css.js +1 -1
- package/dist/atomic/components/utils/tailwind-utilities/hide-scrollbar.tw.css.js +1 -1
- package/dist/atomic/components/utils/tailwind-utilities/link-style.tw.css.js +1 -1
- package/dist/atomic/components/utils/tailwind-utilities/set-font-size.tw.css.js +1 -1
- package/dist/atomic/components/utils/tailwind-utilities/utilities.tw.css.js +1 -1
- package/dist/atomic/components/utils/tailwind.global.tw.css.js +1 -1
- package/dist/atomic/{p-1af410c9.entry.js → p-016da0a9.entry.js} +2 -2
- package/dist/atomic/p-01c91b69.js +2 -0
- package/dist/atomic/p-01c91b69.js.map +1 -0
- package/dist/atomic/{p-1170c41d.entry.js → p-289dacb3.entry.js} +2 -2
- package/dist/atomic/p-306161d1.entry.js +2 -0
- package/dist/atomic/{p-7acbbe2d.entry.js → p-32c4b105.entry.js} +2 -2
- package/dist/atomic/{p-4b353fa7.entry.js → p-3660c7ba.entry.js} +2 -2
- package/dist/atomic/p-3da383a6.entry.js +2 -0
- package/dist/atomic/p-3da383a6.entry.js.map +1 -0
- package/dist/atomic/{p-e1728f5e.entry.js → p-45d59054.entry.js} +2 -2
- package/dist/atomic/{p-acc4d5de.js → p-53bcc515.js} +2 -2
- package/dist/atomic/{p-fc73190d.entry.js → p-6638ca39.entry.js} +2 -2
- package/dist/atomic/{p-c8d47706.entry.js → p-7a5d346b.entry.js} +2 -2
- package/dist/atomic/{p-77f9c0e5.entry.js → p-7e003a57.entry.js} +2 -2
- package/dist/atomic/{p-844784dc.entry.js → p-80924d39.entry.js} +2 -2
- package/dist/atomic/p-96a6f84f.js.map +1 -1
- package/dist/atomic/{p-0eeb0326.entry.js → p-973720fd.entry.js} +2 -2
- package/dist/atomic/{p-6e34798b.entry.js → p-a068444d.entry.js} +2 -2
- package/dist/atomic/{p-81477a4d.entry.js → p-b8f92e42.entry.js} +2 -2
- package/dist/atomic/{p-5fc9f751.entry.js → p-bf5d5c79.entry.js} +2 -2
- package/dist/atomic/{p-6bf492fd.entry.js → p-c0d8fc03.entry.js} +2 -2
- package/dist/atomic/{p-59e0c7b6.entry.js → p-c531db4a.entry.js} +2 -2
- package/dist/atomic/{p-03a68c15.entry.js → p-c97da801.entry.js} +2 -2
- package/dist/atomic/{p-a0ea5102.entry.js → p-d2d49ce8.entry.js} +2 -2
- package/dist/atomic/{p-a3322935.entry.js → p-d3e39bae.entry.js} +2 -2
- package/dist/atomic/{p-34c5bc48.js → p-d9865d9f.js} +2 -2
- package/dist/atomic/{p-f6045cdd.entry.js → p-dd8c70a7.entry.js} +2 -2
- package/dist/atomic/{p-da2ae370.entry.js → p-e3915925.entry.js} +2 -2
- package/dist/atomic/{p-602391ef.entry.js → p-eb726b75.entry.js} +2 -2
- package/dist/atomic/{p-da713f7e.entry.js → p-f0499ee7.entry.js} +2 -2
- package/dist/atomic/p-f0e861c5.entry.js +2 -0
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-0221f3c5.js → analytics-config-70de2b3f.js} +2 -2
- package/dist/cjs/{analytics-config-0221f3c5.js.map → analytics-config-70de2b3f.js.map} +1 -1
- package/dist/cjs/atomic-category-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-currency.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-number.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-unit.cjs.entry.js +1 -1
- package/dist/cjs/atomic-generated-answer.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-generated-answer.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-search-box.cjs.entry.js +2 -2
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
- package/dist/cjs/{atomic-aria-live_2.cjs.entry.js → atomic-relevance-inspector.cjs.entry.js} +1 -68
- package/dist/cjs/atomic-relevance-inspector.cjs.entry.js.map +1 -0
- package/dist/cjs/atomic-result-children.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-fields-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-link.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-search-box.cjs.entry.js +2 -2
- package/dist/cjs/atomic-search-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-sort-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/atomic-sort-expression.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic.cjs.js +1 -1
- package/dist/cjs/debounce-utils-d26bcad4.js +15 -0
- package/dist/cjs/debounce-utils-d26bcad4.js.map +1 -0
- package/dist/cjs/index-757bc886.js +4 -8
- package/dist/cjs/stencil-accessibility-utils-aa4c9f6c.js.map +1 -1
- package/dist/cjs/{stencil-suggestion-manager-6f778cf0.js → stencil-suggestion-manager-5fa3ac70.js} +2 -2
- package/dist/cjs/{stencil-suggestion-manager-6f778cf0.js.map → stencil-suggestion-manager-5fa3ac70.js.map} +1 -1
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-0b029674.js → analytics-config-4efa5f12.js} +2 -2
- package/dist/esm/{analytics-config-0b029674.js.map → analytics-config-4efa5f12.js.map} +1 -1
- package/dist/esm/atomic-category-facet.entry.js +1 -1
- package/dist/esm/atomic-facet.entry.js +1 -1
- package/dist/esm/atomic-format-currency.entry.js +1 -1
- package/dist/esm/atomic-format-number.entry.js +1 -1
- package/dist/esm/atomic-format-unit.entry.js +1 -1
- package/dist/esm/atomic-generated-answer.entry.js +1 -1
- package/dist/esm/atomic-insight-generated-answer.entry.js +1 -1
- package/dist/esm/atomic-insight-interface.entry.js +1 -1
- package/dist/esm/atomic-insight-search-box.entry.js +2 -2
- package/dist/esm/atomic-numeric-facet.entry.js +1 -1
- package/dist/esm/atomic-quickview-modal.entry.js +1 -1
- package/dist/esm/atomic-quickview.entry.js +1 -1
- package/dist/esm/atomic-recs-interface.entry.js +1 -1
- package/dist/esm/{atomic-aria-live_2.entry.js → atomic-relevance-inspector.entry.js} +3 -69
- package/dist/esm/atomic-relevance-inspector.entry.js.map +1 -0
- package/dist/esm/atomic-result-children.entry.js +1 -1
- package/dist/esm/atomic-result-fields-list.entry.js +1 -1
- package/dist/esm/atomic-result-link.entry.js +1 -1
- package/dist/esm/atomic-result-list.entry.js +1 -1
- package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +2 -2
- package/dist/esm/atomic-search-box.entry.js +2 -2
- package/dist/esm/atomic-search-interface.entry.js +1 -1
- package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
- package/dist/esm/atomic-sort-dropdown.entry.js +2 -2
- package/dist/esm/atomic-sort-expression.entry.js +1 -1
- package/dist/esm/atomic-tab-manager.entry.js +1 -1
- package/dist/esm/atomic.js +1 -1
- package/dist/esm/debounce-utils-8619dece.js +13 -0
- package/dist/esm/{debounce-utils-efa015c0.js.map → debounce-utils-8619dece.js.map} +1 -1
- package/dist/esm/index-3f35faca.js +4 -8
- package/dist/esm/stencil-accessibility-utils-bc273be5.js.map +1 -1
- package/dist/esm/{stencil-suggestion-manager-91706623.js → stencil-suggestion-manager-f52c6e39.js} +2 -2
- package/dist/esm/{stencil-suggestion-manager-91706623.js.map → stencil-suggestion-manager-f52c6e39.js.map} +1 -1
- package/dist/esm/version.js +2 -2
- package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts +3 -4
- package/dist/types/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.d.ts +5 -6
- package/dist/types/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.d.ts +3 -0
- package/dist/types/components/commerce/atomic-product-field-condition/atomic-product-field-condition.d.ts +24 -13
- package/dist/types/components/commerce/atomic-product-template/atomic-product-template.d.ts +1 -0
- package/dist/types/components/commerce/index.d.ts +1 -0
- package/dist/types/components/common/atomic-aria-live/atomic-aria-live.d.ts +38 -0
- package/dist/types/components/common/index.d.ts +1 -0
- package/dist/types/components/common/interface/i18n.d.ts +1 -1
- package/dist/types/components/common/interface/{interface-common.d.ts → interface-controller.d.ts} +14 -11
- package/dist/types/components.d.ts +0 -96
- package/dist/types/utils/accessibility-utils.d.ts +2 -1
- package/dist/types/utils/stencil-accessibility-utils.d.ts +2 -1
- package/docs/atomic-docs.json +31 -197
- package/package.json +3 -3
- package/dist/atomic/components/atomic-aria-live.d.ts +0 -11
- package/dist/atomic/components/atomic-aria-live.js +0 -8
- package/dist/atomic/components/atomic-aria-live.js.map +0 -1
- package/dist/atomic/components/atomic-aria-live2.js +0 -87
- package/dist/atomic/components/atomic-aria-live2.js.map +0 -1
- package/dist/atomic/components/atomic-product-field-condition.d.ts +0 -11
- package/dist/atomic/components/atomic-product-field-condition.js +0 -131
- package/dist/atomic/components/atomic-product-field-condition.js.map +0 -1
- package/dist/atomic/components/components/common/interface/interface-common.js +0 -95
- package/dist/atomic/components/stencil-product-template-decorators.js +0 -37
- package/dist/atomic/components/stencil-product-template-decorators.js.map +0 -1
- package/dist/atomic/p-149a461e.entry.js +0 -2
- package/dist/atomic/p-149a461e.entry.js.map +0 -1
- package/dist/atomic/p-37b7705c.js +0 -2
- package/dist/atomic/p-37b7705c.js.map +0 -1
- package/dist/atomic/p-a0b3c6e2.entry.js +0 -2
- package/dist/atomic/p-a0b3c6e2.entry.js.map +0 -1
- package/dist/atomic/p-e790d557.entry.js +0 -2
- package/dist/atomic/p-efd2bb5f.entry.js +0 -2
- package/dist/cjs/atomic-aria-live_2.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-product-field-condition.cjs.entry.js +0 -119
- package/dist/cjs/atomic-product-field-condition.cjs.entry.js.map +0 -1
- package/dist/cjs/debounce-utils-e014935f.js +0 -49
- package/dist/cjs/debounce-utils-e014935f.js.map +0 -1
- package/dist/esm/atomic-aria-live_2.entry.js.map +0 -1
- package/dist/esm/atomic-product-field-condition.entry.js +0 -115
- package/dist/esm/atomic-product-field-condition.entry.js.map +0 -1
- package/dist/esm/debounce-utils-efa015c0.js +0 -46
- package/dist/types/components/search/atomic-search-interface/atomic-aria-live.d.ts +0 -23
- /package/dist/atomic/{p-1af410c9.entry.js.map → p-016da0a9.entry.js.map} +0 -0
- /package/dist/atomic/{p-1170c41d.entry.js.map → p-289dacb3.entry.js.map} +0 -0
- /package/dist/atomic/{p-efd2bb5f.entry.js.map → p-306161d1.entry.js.map} +0 -0
- /package/dist/atomic/{p-7acbbe2d.entry.js.map → p-32c4b105.entry.js.map} +0 -0
- /package/dist/atomic/{p-4b353fa7.entry.js.map → p-3660c7ba.entry.js.map} +0 -0
- /package/dist/atomic/{p-e1728f5e.entry.js.map → p-45d59054.entry.js.map} +0 -0
- /package/dist/atomic/{p-acc4d5de.js.map → p-53bcc515.js.map} +0 -0
- /package/dist/atomic/{p-fc73190d.entry.js.map → p-6638ca39.entry.js.map} +0 -0
- /package/dist/atomic/{p-c8d47706.entry.js.map → p-7a5d346b.entry.js.map} +0 -0
- /package/dist/atomic/{p-77f9c0e5.entry.js.map → p-7e003a57.entry.js.map} +0 -0
- /package/dist/atomic/{p-844784dc.entry.js.map → p-80924d39.entry.js.map} +0 -0
- /package/dist/atomic/{p-0eeb0326.entry.js.map → p-973720fd.entry.js.map} +0 -0
- /package/dist/atomic/{p-6e34798b.entry.js.map → p-a068444d.entry.js.map} +0 -0
- /package/dist/atomic/{p-81477a4d.entry.js.map → p-b8f92e42.entry.js.map} +0 -0
- /package/dist/atomic/{p-5fc9f751.entry.js.map → p-bf5d5c79.entry.js.map} +0 -0
- /package/dist/atomic/{p-6bf492fd.entry.js.map → p-c0d8fc03.entry.js.map} +0 -0
- /package/dist/atomic/{p-59e0c7b6.entry.js.map → p-c531db4a.entry.js.map} +0 -0
- /package/dist/atomic/{p-03a68c15.entry.js.map → p-c97da801.entry.js.map} +0 -0
- /package/dist/atomic/{p-a0ea5102.entry.js.map → p-d2d49ce8.entry.js.map} +0 -0
- /package/dist/atomic/{p-a3322935.entry.js.map → p-d3e39bae.entry.js.map} +0 -0
- /package/dist/atomic/{p-34c5bc48.js.map → p-d9865d9f.js.map} +0 -0
- /package/dist/atomic/{p-f6045cdd.entry.js.map → p-dd8c70a7.entry.js.map} +0 -0
- /package/dist/atomic/{p-da2ae370.entry.js.map → p-e3915925.entry.js.map} +0 -0
- /package/dist/atomic/{p-602391ef.entry.js.map → p-eb726b75.entry.js.map} +0 -0
- /package/dist/atomic/{p-da713f7e.entry.js.map → p-f0499ee7.entry.js.map} +0 -0
- /package/dist/atomic/{p-e790d557.entry.js.map → p-f0e861c5.entry.js.map} +0 -0
package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts
CHANGED
|
@@ -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-
|
|
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
|
|
29
|
-
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 {
|
|
6
|
-
import { type BaseAtomicInterface } from '../../common/interface/interface-
|
|
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
|
|
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
|
|
19
|
+
error: Error;
|
|
20
20
|
context: Context;
|
|
21
21
|
store: CommerceRecommendationStore;
|
|
22
|
-
private
|
|
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;
|
package/dist/types/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.d.ts
CHANGED
|
@@ -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
|
*
|
|
@@ -1,32 +1,43 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { InitializableComponent } from "../../../decorators/types";
|
|
3
|
+
import type { CommerceBindings } from '../atomic-commerce-interface/atomic-commerce-interface';
|
|
1
4
|
/**
|
|
2
|
-
* The `atomic-product-field-condition` component
|
|
5
|
+
* The `atomic-product-field-condition` component renders its children only when all of the conditions specified through its props are satisfied.
|
|
3
6
|
* The condition properties can be based on any top-level product property of the `product` object, not restricted to fields (e.g., `ec_name`).
|
|
7
|
+
*
|
|
8
|
+
* @slot default - The content to render if the conditions are met.
|
|
9
|
+
*
|
|
4
10
|
* @alpha
|
|
5
11
|
*/
|
|
6
|
-
export declare class AtomicProductFieldCondition {
|
|
7
|
-
|
|
12
|
+
export declare class AtomicProductFieldCondition extends LitElement implements InitializableComponent<CommerceBindings> {
|
|
13
|
+
createRenderRoot(): this;
|
|
14
|
+
bindings: CommerceBindings;
|
|
15
|
+
error: Error;
|
|
16
|
+
private productController;
|
|
8
17
|
/**
|
|
9
|
-
*
|
|
18
|
+
* A condition that is satisfied when the specified field is defined on a product (e.g., `if-defined="cat_gender"` is satisfied when a product has the `cat_gender` field).
|
|
10
19
|
*/
|
|
11
20
|
ifDefined?: string;
|
|
12
21
|
/**
|
|
13
|
-
*
|
|
22
|
+
* A condition that is satisfied when the specified field is not defined on a product (e.g., `if-not-defined="cat_gender"` is satisfied when a product does not have the `cat_gender` field).
|
|
14
23
|
*/
|
|
15
24
|
ifNotDefined?: string;
|
|
16
25
|
/**
|
|
17
|
-
*
|
|
26
|
+
* A condition that is satisfied when the specified field matches one of the specified values on a product (e.g., `must-match-ec_color="Pink,Purple"` is satisfied when a product is either pink or purple).
|
|
18
27
|
* @type {Record<string, string[]>}
|
|
19
28
|
*/
|
|
20
29
|
mustMatch: Record<string, string[]>;
|
|
21
30
|
/**
|
|
22
|
-
*
|
|
31
|
+
* A condition that is satisfied when the specified field does not match any of the specified values on a product (e.g., `must-not-match-ec_color="Green,Black"` is satisfied when a product is neither green nor black).
|
|
23
32
|
* @type {Record<string, string[]>}
|
|
24
33
|
*/
|
|
25
34
|
mustNotMatch: Record<string, string[]>;
|
|
26
|
-
|
|
27
|
-
private
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
35
|
+
initialize(): void;
|
|
36
|
+
private get conditions();
|
|
37
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
38
|
+
}
|
|
39
|
+
declare global {
|
|
40
|
+
interface HTMLElementTagNameMap {
|
|
41
|
+
'atomic-product-field-condition': AtomicProductFieldCondition;
|
|
42
|
+
}
|
|
32
43
|
}
|
|
@@ -7,6 +7,7 @@ import '../atomic-product-link/atomic-product-link';
|
|
|
7
7
|
import '../atomic-product/atomic-product';
|
|
8
8
|
import '../atomic-product-excerpt/atomic-product-excerpt';
|
|
9
9
|
import '../atomic-product-children/atomic-product-children';
|
|
10
|
+
import '../atomic-product-field-condition/atomic-product-field-condition';
|
|
10
11
|
import '../atomic-product-multi-value-text/atomic-product-multi-value-text';
|
|
11
12
|
import '../atomic-product-price/atomic-product-price';
|
|
12
13
|
import '../atomic-product-numeric-field-value/atomic-product-numeric-field-value';
|
|
@@ -23,6 +23,7 @@ export { AtomicProduct } from './atomic-product/atomic-product.js';
|
|
|
23
23
|
export { AtomicProductChildren } from './atomic-product-children/atomic-product-children.js';
|
|
24
24
|
export { AtomicProductDescription } from './atomic-product-description/atomic-product-description.js';
|
|
25
25
|
export { AtomicProductExcerpt } from './atomic-product-excerpt/atomic-product-excerpt.js';
|
|
26
|
+
export { AtomicProductFieldCondition } from './atomic-product-field-condition/atomic-product-field-condition.js';
|
|
26
27
|
export { AtomicProductImage } from './atomic-product-image/atomic-product-image.js';
|
|
27
28
|
export { AtomicProductLink } from './atomic-product-link/atomic-product-link.js';
|
|
28
29
|
export { AtomicProductMultiValueText } from './atomic-product-multi-value-text/atomic-product-multi-value-text.js';
|
|
@@ -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-
|
|
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>>;
|
package/dist/types/components/common/interface/{interface-common.d.ts → interface-controller.d.ts}
RENAMED
|
@@ -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 {
|
|
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
|
|
21
|
-
|
|
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(
|
|
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?:
|
|
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,
|
|
@@ -1591,31 +1584,6 @@ export namespace Components {
|
|
|
1591
1584
|
*/
|
|
1592
1585
|
interface AtomicPopover {
|
|
1593
1586
|
}
|
|
1594
|
-
/**
|
|
1595
|
-
* The `atomic-product-field-condition` component takes a list of conditions that, if fulfilled, apply the template in which it's defined.
|
|
1596
|
-
* The condition properties can be based on any top-level product property of the `product` object, not restricted to fields (e.g., `ec_name`).
|
|
1597
|
-
* @alpha
|
|
1598
|
-
*/
|
|
1599
|
-
interface AtomicProductFieldCondition {
|
|
1600
|
-
/**
|
|
1601
|
-
* Verifies whether the specified fields are defined.
|
|
1602
|
-
*/
|
|
1603
|
-
"ifDefined"?: string;
|
|
1604
|
-
/**
|
|
1605
|
-
* Verifies whether the specified fields are not defined.
|
|
1606
|
-
*/
|
|
1607
|
-
"ifNotDefined"?: string;
|
|
1608
|
-
/**
|
|
1609
|
-
* Verifies whether the specified fields match the specified values.
|
|
1610
|
-
* @type {Record<string, string[]>}
|
|
1611
|
-
*/
|
|
1612
|
-
"mustMatch": Record<string, string[]>;
|
|
1613
|
-
/**
|
|
1614
|
-
* Verifies whether the specified fields do not match the specified values.
|
|
1615
|
-
* @type {Record<string, string[]>}
|
|
1616
|
-
*/
|
|
1617
|
-
"mustNotMatch": Record<string, string[]>;
|
|
1618
|
-
}
|
|
1619
1587
|
/**
|
|
1620
1588
|
* The `atomic-product-rating` element renders a star rating.
|
|
1621
1589
|
* @alpha
|
|
@@ -3283,15 +3251,6 @@ export interface AtomicSmartSnippetSourceCustomEvent<T> extends CustomEvent<T> {
|
|
|
3283
3251
|
target: HTMLAtomicSmartSnippetSourceElement;
|
|
3284
3252
|
}
|
|
3285
3253
|
declare global {
|
|
3286
|
-
/**
|
|
3287
|
-
* The `atomic-aria-live` component notifies screen readers of changes in the search interface.
|
|
3288
|
-
*/
|
|
3289
|
-
interface HTMLAtomicAriaLiveElement extends Components.AtomicAriaLive, HTMLStencilElement {
|
|
3290
|
-
}
|
|
3291
|
-
var HTMLAtomicAriaLiveElement: {
|
|
3292
|
-
prototype: HTMLAtomicAriaLiveElement;
|
|
3293
|
-
new (): HTMLAtomicAriaLiveElement;
|
|
3294
|
-
};
|
|
3295
3254
|
/**
|
|
3296
3255
|
* An automatic facet is a special type of facet generated by the automatic facets feature.
|
|
3297
3256
|
* Unlike regular facets, which need to be explicitly defined and requested in the query,
|
|
@@ -4064,17 +4023,6 @@ declare global {
|
|
|
4064
4023
|
prototype: HTMLAtomicPopoverElement;
|
|
4065
4024
|
new (): HTMLAtomicPopoverElement;
|
|
4066
4025
|
};
|
|
4067
|
-
/**
|
|
4068
|
-
* The `atomic-product-field-condition` component takes a list of conditions that, if fulfilled, apply the template in which it's defined.
|
|
4069
|
-
* The condition properties can be based on any top-level product property of the `product` object, not restricted to fields (e.g., `ec_name`).
|
|
4070
|
-
* @alpha
|
|
4071
|
-
*/
|
|
4072
|
-
interface HTMLAtomicProductFieldConditionElement extends Components.AtomicProductFieldCondition, HTMLStencilElement {
|
|
4073
|
-
}
|
|
4074
|
-
var HTMLAtomicProductFieldConditionElement: {
|
|
4075
|
-
prototype: HTMLAtomicProductFieldConditionElement;
|
|
4076
|
-
new (): HTMLAtomicProductFieldConditionElement;
|
|
4077
|
-
};
|
|
4078
4026
|
/**
|
|
4079
4027
|
* The `atomic-product-rating` element renders a star rating.
|
|
4080
4028
|
* @alpha
|
|
@@ -5073,7 +5021,6 @@ declare global {
|
|
|
5073
5021
|
new (): HTMLAtomicTimeframeFacetElement;
|
|
5074
5022
|
};
|
|
5075
5023
|
interface HTMLElementTagNameMap {
|
|
5076
|
-
"atomic-aria-live": HTMLAtomicAriaLiveElement;
|
|
5077
5024
|
"atomic-automatic-facet": HTMLAtomicAutomaticFacetElement;
|
|
5078
5025
|
"atomic-automatic-facet-generator": HTMLAtomicAutomaticFacetGeneratorElement;
|
|
5079
5026
|
"atomic-breadbox": HTMLAtomicBreadboxElement;
|
|
@@ -5155,7 +5102,6 @@ declare global {
|
|
|
5155
5102
|
"atomic-numeric-range": HTMLAtomicNumericRangeElement;
|
|
5156
5103
|
"atomic-pager": HTMLAtomicPagerElement;
|
|
5157
5104
|
"atomic-popover": HTMLAtomicPopoverElement;
|
|
5158
|
-
"atomic-product-field-condition": HTMLAtomicProductFieldConditionElement;
|
|
5159
5105
|
"atomic-product-rating": HTMLAtomicProductRatingElement;
|
|
5160
5106
|
"atomic-product-section-actions": HTMLAtomicProductSectionActionsElement;
|
|
5161
5107
|
"atomic-product-section-badges": HTMLAtomicProductSectionBadgesElement;
|
|
@@ -5241,11 +5187,6 @@ declare global {
|
|
|
5241
5187
|
}
|
|
5242
5188
|
}
|
|
5243
5189
|
declare namespace LocalJSX {
|
|
5244
|
-
/**
|
|
5245
|
-
* The `atomic-aria-live` component notifies screen readers of changes in the search interface.
|
|
5246
|
-
*/
|
|
5247
|
-
interface AtomicAriaLive {
|
|
5248
|
-
}
|
|
5249
5190
|
/**
|
|
5250
5191
|
* An automatic facet is a special type of facet generated by the automatic facets feature.
|
|
5251
5192
|
* Unlike regular facets, which need to be explicitly defined and requested in the query,
|
|
@@ -6716,31 +6657,6 @@ declare namespace LocalJSX {
|
|
|
6716
6657
|
*/
|
|
6717
6658
|
interface AtomicPopover {
|
|
6718
6659
|
}
|
|
6719
|
-
/**
|
|
6720
|
-
* The `atomic-product-field-condition` component takes a list of conditions that, if fulfilled, apply the template in which it's defined.
|
|
6721
|
-
* The condition properties can be based on any top-level product property of the `product` object, not restricted to fields (e.g., `ec_name`).
|
|
6722
|
-
* @alpha
|
|
6723
|
-
*/
|
|
6724
|
-
interface AtomicProductFieldCondition {
|
|
6725
|
-
/**
|
|
6726
|
-
* Verifies whether the specified fields are defined.
|
|
6727
|
-
*/
|
|
6728
|
-
"ifDefined"?: string;
|
|
6729
|
-
/**
|
|
6730
|
-
* Verifies whether the specified fields are not defined.
|
|
6731
|
-
*/
|
|
6732
|
-
"ifNotDefined"?: string;
|
|
6733
|
-
/**
|
|
6734
|
-
* Verifies whether the specified fields match the specified values.
|
|
6735
|
-
* @type {Record<string, string[]>}
|
|
6736
|
-
*/
|
|
6737
|
-
"mustMatch"?: Record<string, string[]>;
|
|
6738
|
-
/**
|
|
6739
|
-
* Verifies whether the specified fields do not match the specified values.
|
|
6740
|
-
* @type {Record<string, string[]>}
|
|
6741
|
-
*/
|
|
6742
|
-
"mustNotMatch"?: Record<string, string[]>;
|
|
6743
|
-
}
|
|
6744
6660
|
/**
|
|
6745
6661
|
* The `atomic-product-rating` element renders a star rating.
|
|
6746
6662
|
* @alpha
|
|
@@ -8255,7 +8171,6 @@ declare namespace LocalJSX {
|
|
|
8255
8171
|
"withDatePicker"?: boolean;
|
|
8256
8172
|
}
|
|
8257
8173
|
interface IntrinsicElements {
|
|
8258
|
-
"atomic-aria-live": AtomicAriaLive;
|
|
8259
8174
|
"atomic-automatic-facet": AtomicAutomaticFacet;
|
|
8260
8175
|
"atomic-automatic-facet-generator": AtomicAutomaticFacetGenerator;
|
|
8261
8176
|
"atomic-breadbox": AtomicBreadbox;
|
|
@@ -8337,7 +8252,6 @@ declare namespace LocalJSX {
|
|
|
8337
8252
|
"atomic-numeric-range": AtomicNumericRange;
|
|
8338
8253
|
"atomic-pager": AtomicPager;
|
|
8339
8254
|
"atomic-popover": AtomicPopover;
|
|
8340
|
-
"atomic-product-field-condition": AtomicProductFieldCondition;
|
|
8341
8255
|
"atomic-product-rating": AtomicProductRating;
|
|
8342
8256
|
"atomic-product-section-actions": AtomicProductSectionActions;
|
|
8343
8257
|
"atomic-product-section-badges": AtomicProductSectionBadges;
|
|
@@ -8426,10 +8340,6 @@ export { LocalJSX as JSX };
|
|
|
8426
8340
|
declare module "@stencil/core" {
|
|
8427
8341
|
export namespace JSX {
|
|
8428
8342
|
interface IntrinsicElements {
|
|
8429
|
-
/**
|
|
8430
|
-
* The `atomic-aria-live` component notifies screen readers of changes in the search interface.
|
|
8431
|
-
*/
|
|
8432
|
-
"atomic-aria-live": LocalJSX.AtomicAriaLive & JSXBase.HTMLAttributes<HTMLAtomicAriaLiveElement>;
|
|
8433
8343
|
/**
|
|
8434
8344
|
* An automatic facet is a special type of facet generated by the automatic facets feature.
|
|
8435
8345
|
* Unlike regular facets, which need to be explicitly defined and requested in the query,
|
|
@@ -8653,12 +8563,6 @@ declare module "@stencil/core" {
|
|
|
8653
8563
|
* The `atomic-popover` component displays any facet as a popover menu.
|
|
8654
8564
|
*/
|
|
8655
8565
|
"atomic-popover": LocalJSX.AtomicPopover & JSXBase.HTMLAttributes<HTMLAtomicPopoverElement>;
|
|
8656
|
-
/**
|
|
8657
|
-
* The `atomic-product-field-condition` component takes a list of conditions that, if fulfilled, apply the template in which it's defined.
|
|
8658
|
-
* The condition properties can be based on any top-level product property of the `product` object, not restricted to fields (e.g., `ec_name`).
|
|
8659
|
-
* @alpha
|
|
8660
|
-
*/
|
|
8661
|
-
"atomic-product-field-condition": LocalJSX.AtomicProductFieldCondition & JSXBase.HTMLAttributes<HTMLAtomicProductFieldConditionElement>;
|
|
8662
8566
|
/**
|
|
8663
8567
|
* The `atomic-product-rating` element renders a star rating.
|
|
8664
8568
|
* @alpha
|
|
@@ -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?:
|
|
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?:
|
|
8
|
+
element?: AtomicAriaLive;
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
11
|
* @deprecated use Lit equivalent
|