@coveo/atomic 3.34.0-pre.616c4e348b → 3.34.0-pre.64accaaf5d
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 +18 -4
- package/dist/atomic/components/_index.js +9 -2
- package/dist/atomic/components/analytics-config.js +1 -1
- package/dist/atomic/components/atomic-category-facet.js +17 -7
- package/dist/atomic/components/atomic-category-facet.js.map +1 -1
- package/dist/atomic/components/atomic-facet.js +1 -1
- package/dist/atomic/components/atomic-focus-trap2.js +1 -1
- package/dist/atomic/components/atomic-folded-result-list.js +40 -4
- package/dist/atomic/components/atomic-folded-result-list.js.map +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-insight-folded-result-list.js +40 -4
- package/dist/atomic/components/atomic-insight-folded-result-list.js.map +1 -1
- package/dist/atomic/components/atomic-insight-history-toggle.js +2 -2
- package/dist/atomic/components/atomic-insight-history-toggle.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-action-bar.js +1 -5
- package/dist/atomic/components/atomic-insight-result-action-bar.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-children.js +40 -4
- package/dist/atomic/components/atomic-insight-result-children.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-list.js +40 -4
- package/dist/atomic/components/atomic-insight-result-list.js.map +1 -1
- package/dist/atomic/components/atomic-insight-user-actions-toggle.js +2 -2
- package/dist/atomic/components/atomic-insight-user-actions-toggle.js.map +1 -1
- package/dist/atomic/components/atomic-ipx-recs-list.js +40 -4
- package/dist/atomic/components/atomic-ipx-recs-list.js.map +1 -1
- package/dist/{esm/sections-ae00b53a.js → atomic/components/atomic-layout-section-utils.js} +1 -1
- package/dist/atomic/components/atomic-layout-section-utils.js.map +1 -0
- package/dist/atomic/components/atomic-numeric-facet.js +1 -1
- package/dist/atomic/components/atomic-quickview-modal2.js +23 -23
- package/dist/atomic/components/atomic-quickview-modal2.js.map +1 -1
- package/dist/atomic/components/atomic-quickview.js +1 -1
- package/dist/atomic/components/atomic-recs-list.js +40 -4
- package/dist/atomic/components/atomic-recs-list.js.map +1 -1
- package/dist/atomic/components/atomic-refine-modal2.js +3 -3
- package/dist/atomic/components/atomic-refine-modal2.js.map +1 -1
- package/dist/atomic/components/atomic-result-children.js +41 -5
- package/dist/atomic/components/atomic-result-children.js.map +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 +41 -5
- package/dist/atomic/components/atomic-result-list.js.map +1 -1
- package/dist/atomic/components/atomic-result-placeholder2.js +37 -1
- package/dist/atomic/components/atomic-result-placeholder2.js.map +1 -1
- package/dist/atomic/components/atomic-result-section-actions.d.ts +11 -0
- package/dist/atomic/components/atomic-result-section-actions.js +8 -0
- package/dist/atomic/components/atomic-result-section-actions.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-actions2.js +30 -0
- package/dist/atomic/components/atomic-result-section-actions2.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-badges.d.ts +11 -0
- package/dist/atomic/components/atomic-result-section-badges.js +8 -0
- package/dist/atomic/components/atomic-result-section-badges.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-badges2.js +30 -0
- package/dist/atomic/components/atomic-result-section-badges2.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-bottom-metadata.d.ts +11 -0
- package/dist/atomic/components/atomic-result-section-bottom-metadata.js +8 -0
- package/dist/atomic/components/atomic-result-section-bottom-metadata.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-bottom-metadata2.js +30 -0
- package/dist/atomic/components/atomic-result-section-bottom-metadata2.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-children.d.ts +11 -0
- package/dist/atomic/components/atomic-result-section-children.js +33 -0
- package/dist/atomic/components/atomic-result-section-children.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-emphasized.d.ts +11 -0
- package/dist/atomic/components/atomic-result-section-emphasized.js +33 -0
- package/dist/atomic/components/atomic-result-section-emphasized.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-excerpt.d.ts +11 -0
- package/dist/atomic/components/atomic-result-section-excerpt.js +8 -0
- package/dist/atomic/components/atomic-result-section-excerpt.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-excerpt2.js +30 -0
- package/dist/atomic/components/atomic-result-section-excerpt2.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-title-metadata.d.ts +11 -0
- package/dist/atomic/components/atomic-result-section-title-metadata.js +33 -0
- package/dist/atomic/components/atomic-result-section-title-metadata.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-title.d.ts +11 -0
- package/dist/atomic/components/atomic-result-section-title.js +8 -0
- package/dist/atomic/components/atomic-result-section-title.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-title2.js +30 -0
- package/dist/atomic/components/atomic-result-section-title2.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-visual.d.ts +11 -0
- package/dist/atomic/components/atomic-result-section-visual.js +8 -0
- package/dist/atomic/components/atomic-result-section-visual.js.map +1 -0
- package/dist/atomic/components/atomic-result-section-visual2.js +33 -0
- package/dist/atomic/components/atomic-result-section-visual2.js.map +1 -0
- package/dist/atomic/components/atomic-result-table-placeholder2.js +1 -1
- package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
- package/dist/atomic/components/atomic-search-box.js +5 -11
- package/dist/atomic/components/atomic-search-box.js.map +1 -1
- package/dist/atomic/components/atomic-smart-snippet-answer2.js +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/clock.js +2 -2
- package/dist/atomic/components/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.js +17 -32
- package/dist/atomic/components/components/commerce/atomic-commerce-category-facet/atomic-commerce-category-facet.js +3 -0
- package/dist/atomic/components/components/common/atomic-layout-section/layout.js +1 -1
- package/dist/atomic/components/components/common/facets/category-facet/all-categories-button.js +3 -2
- package/dist/atomic/components/components/common/facets/category-facet/all-categories-localized-label.js +9 -0
- package/dist/atomic/components/components/common/facets/category-facet/search-value.js +6 -1
- package/dist/atomic/components/components/common/layout/display-options.js +1 -1
- package/dist/atomic/components/components/common/layout/{sections.js → item-layout-sections.js} +1 -1
- package/dist/atomic/components/components/common/product-template/product-template-common.js +1 -1
- package/dist/atomic/components/components/common/validate-props-controller/validate-props-controller.js +50 -0
- package/dist/atomic/components/components/insight/atomic-insight-layout/insight-layout.js +1 -1
- package/dist/atomic/components/components/search/atomic-relevance-inspector/atomic-relevance-inspector.js +100 -0
- package/dist/atomic/components/components/search/atomic-search-box-recent-queries/atomic-search-box-recent-queries.js +137 -0
- package/dist/atomic/components/components/search/atomic-search-interface/atomic-search-interface.js +11 -24
- package/dist/atomic/components/components/search/index.js +2 -9
- package/dist/atomic/components/components/search/lazy-index.js +2 -9
- package/dist/atomic/components/display-options.js +1 -1
- package/dist/atomic/components/display-options.js.map +1 -1
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/atomic/components/index.js.map +1 -1
- package/dist/atomic/components/insight-layout.js +1 -1
- package/dist/atomic/components/insight-layout.js.map +1 -1
- package/dist/atomic/components/{sections2.js → item-layout-sections.js} +2 -2
- package/dist/atomic/components/item-layout-sections.js.map +1 -0
- package/dist/atomic/components/item-section-utils.js +9 -0
- package/dist/atomic/components/item-section-utils.js.map +1 -0
- package/dist/atomic/components/props-utils.js +1 -1
- package/dist/atomic/components/result-template-common.js +2 -2
- package/dist/atomic/components/result-template-common.js.map +1 -1
- package/dist/atomic/components/store.js +1 -1
- package/dist/atomic/components/utils/compare-utils.js +49 -0
- package/dist/atomic/components/utils.js +1 -1
- package/dist/atomic/{p-475124d2.entry.js → p-01511388.entry.js} +2 -2
- package/dist/atomic/{p-2caa1859.js → p-0e62bdd6.js} +2 -2
- package/dist/atomic/p-0e62bdd6.js.map +1 -0
- package/dist/atomic/{p-60800b2f.entry.js → p-0ed76e65.entry.js} +2 -2
- package/dist/atomic/{p-5f706e3d.entry.js → p-170c7da6.entry.js} +2 -2
- package/dist/atomic/{p-3857d6a3.entry.js → p-1bbaf206.entry.js} +2 -2
- package/dist/atomic/{p-4723ffa5.entry.js → p-20b33c18.entry.js} +2 -2
- package/dist/atomic/{p-7709fba4.js → p-2250f505.js} +2 -2
- package/dist/atomic/p-2250f505.js.map +1 -0
- package/dist/atomic/{p-16f6c1f3.entry.js → p-2fb49fe8.entry.js} +2 -2
- package/dist/atomic/{p-13391e75.entry.js → p-3549a469.entry.js} +2 -2
- package/dist/atomic/{p-bd3542d2.entry.js → p-36112c34.entry.js} +2 -2
- package/dist/atomic/p-36112c34.entry.js.map +1 -0
- package/dist/atomic/{p-d6e04719.entry.js → p-373448df.entry.js} +2 -2
- package/dist/atomic/p-3d55fce6.entry.js +2 -0
- package/dist/atomic/p-3d55fce6.entry.js.map +1 -0
- package/dist/atomic/{p-88af4470.entry.js → p-40c1dfcb.entry.js} +2 -2
- package/dist/atomic/{p-0bdd730f.entry.js → p-4e2f8a73.entry.js} +2 -2
- package/dist/atomic/p-4e2f8a73.entry.js.map +1 -0
- package/dist/atomic/{p-7c3c5f07.entry.js → p-4f4c9a03.entry.js} +2 -2
- package/dist/atomic/p-4f4c9a03.entry.js.map +1 -0
- package/dist/atomic/p-519d9abd.entry.js +2 -0
- package/dist/atomic/p-519d9abd.entry.js.map +1 -0
- package/dist/atomic/{p-20764605.entry.js → p-52d5461a.entry.js} +2 -2
- package/dist/atomic/p-56c97c3e.js +2 -0
- package/dist/atomic/p-56c97c3e.js.map +1 -0
- package/dist/atomic/{p-406a288c.entry.js → p-6078667f.entry.js} +2 -2
- package/dist/atomic/p-62e85c20.entry.js +2 -0
- package/dist/atomic/{p-f2000522.js → p-6e0a147c.js} +2 -2
- package/dist/atomic/p-6f1bffa2.entry.js +2 -0
- package/dist/atomic/p-6f1bffa2.entry.js.map +1 -0
- package/dist/atomic/{p-93da1f4e.entry.js → p-6f34dd3a.entry.js} +2 -2
- package/dist/atomic/{p-0c0b8d41.entry.js → p-768b172e.entry.js} +2 -2
- package/dist/atomic/{p-3cbab25b.entry.js → p-7e971d15.entry.js} +2 -2
- package/dist/atomic/{p-a4d277c7.entry.js → p-7fd5b6ac.entry.js} +2 -2
- package/dist/atomic/{p-4601eb93.entry.js → p-83d3857f.entry.js} +2 -2
- package/dist/atomic/p-8572a953.entry.js +2 -0
- package/dist/atomic/p-8572a953.entry.js.map +1 -0
- package/dist/atomic/{p-dbcef3a9.entry.js → p-87f69e53.entry.js} +2 -2
- package/dist/atomic/{p-6289adc7.entry.js → p-9239be63.entry.js} +2 -2
- package/dist/atomic/{p-f71b14b2.entry.js → p-9260dd7d.entry.js} +2 -2
- package/dist/atomic/{p-ed8e5c4d.entry.js → p-98dd6df1.entry.js} +2 -2
- package/dist/atomic/p-9a6ec803.entry.js +2 -0
- package/dist/atomic/p-9a6ec803.entry.js.map +1 -0
- package/dist/atomic/{p-0b5efb51.entry.js → p-a1e5f767.entry.js} +2 -2
- package/dist/atomic/{p-ba5b3f06.entry.js → p-a5da1add.entry.js} +2 -2
- package/dist/atomic/{p-1db20a4a.entry.js → p-a5f66ecd.entry.js} +2 -2
- package/dist/atomic/{p-7ec6dd3e.entry.js → p-af1b4924.entry.js} +2 -2
- package/dist/atomic/{p-e398835b.entry.js → p-b2b9e83f.entry.js} +2 -2
- package/dist/atomic/{p-8fdef8a3.entry.js → p-b313058c.entry.js} +2 -2
- package/dist/atomic/{p-3a7a1a00.entry.js → p-bbfe727a.entry.js} +2 -2
- package/dist/atomic/{p-0a31d0fe.entry.js → p-bdbab2bb.entry.js} +2 -2
- package/dist/atomic/{p-97ce3384.entry.js → p-be2a43f4.entry.js} +2 -2
- package/dist/atomic/{p-577d34ba.entry.js → p-c4fb6426.entry.js} +2 -2
- package/dist/atomic/{p-9c7dbbdf.js → p-cc2b2231.js} +1 -1
- package/dist/atomic/p-cc2b2231.js.map +1 -0
- package/dist/atomic/{p-a5714bc4.entry.js → p-d211a422.entry.js} +2 -2
- package/dist/atomic/p-da845e35.entry.js +2 -0
- package/dist/atomic/p-da845e35.entry.js.map +1 -0
- package/dist/atomic/{p-9faad55b.entry.js → p-dc128135.entry.js} +2 -2
- package/dist/atomic/{p-97748161.js → p-dc28ee14.js} +1 -1
- package/dist/{esm/sections-d787040b.js.map → atomic/p-dc28ee14.js.map} +1 -1
- package/dist/atomic/{p-c280cd05.js → p-e1cc5150.js} +1 -1
- package/dist/atomic/{p-27b8404c.js → p-e62fc40e.js} +2 -2
- package/dist/atomic/p-e62fc40e.js.map +1 -0
- package/dist/atomic/{p-d1795580.entry.js → p-e7a25b00.entry.js} +2 -2
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-77341865.js → analytics-config-72cc04ac.js} +2 -2
- package/dist/cjs/{analytics-config-77341865.js.map → analytics-config-72cc04ac.js.map} +1 -1
- package/dist/cjs/atomic-category-facet.cjs.entry.js +17 -7
- package/dist/cjs/atomic-category-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-field-condition.cjs.entry.js +2 -2
- package/dist/cjs/atomic-folded-result-list.cjs.entry.js +2 -2
- 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-insight-folded-result-list.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-interface.cjs.entry.js +3 -3
- package/dist/cjs/atomic-insight-layout.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-result-action-bar.cjs.entry.js +3 -6
- package/dist/cjs/atomic-insight-result-action-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-result-list.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-result-template.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-result.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js +2 -2
- package/dist/cjs/{sections-4b4af2f8.js → atomic-layout-section-utils-08b4fbcd.js} +1 -1
- package/dist/cjs/atomic-layout-section-utils-08b4fbcd.js.map +1 -0
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js +23 -23
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js.map +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-recs-list.cjs.entry.js +2 -2
- package/dist/cjs/atomic-recs-result-template.cjs.entry.js +2 -2
- package/dist/cjs/atomic-recs-result.cjs.entry.js +2 -2
- package/dist/cjs/atomic-refine-modal.cjs.entry.js +4 -4
- package/dist/cjs/atomic-refine-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-result-children-template.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/{atomic-result-placeholder_2.cjs.entry.js → atomic-result-placeholder_8.cjs.entry.js} +72 -4
- package/dist/cjs/atomic-result-placeholder_8.cjs.entry.js.map +1 -0
- package/dist/cjs/atomic-result-section-children.cjs.entry.js +23 -0
- package/dist/cjs/atomic-result-section-children.cjs.entry.js.map +1 -0
- package/dist/cjs/atomic-result-section-emphasized.cjs.entry.js +23 -0
- package/dist/cjs/atomic-result-section-emphasized.cjs.entry.js.map +1 -0
- package/dist/cjs/atomic-result-section-title-metadata.cjs.entry.js +23 -0
- package/dist/cjs/atomic-result-section-title-metadata.cjs.entry.js.map +1 -0
- package/dist/cjs/atomic-result-template.cjs.entry.js +2 -2
- package/dist/cjs/atomic-result.cjs.entry.js +2 -2
- package/dist/cjs/atomic-search-box-query-suggestions.cjs.entry.js +76 -0
- package/dist/cjs/atomic-search-box-query-suggestions.cjs.entry.js.map +1 -0
- package/dist/cjs/atomic-search-box.cjs.entry.js +3 -3
- 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/clock-7aeb19d0.js +7 -0
- package/dist/cjs/clock-7aeb19d0.js.map +1 -0
- package/dist/cjs/{display-options-14f05862.js → display-options-69531e8d.js} +4 -4
- package/dist/cjs/display-options-69531e8d.js.map +1 -0
- package/dist/cjs/index-757bc886.js +16 -8
- package/dist/cjs/{insight-layout-355a94dd.js → insight-layout-b6ff92fd.js} +11 -11
- package/dist/cjs/insight-layout-b6ff92fd.js.map +1 -0
- package/dist/cjs/{sections-fbb93b53.js → item-layout-sections-b09ba4b3.js} +1 -1
- package/dist/cjs/item-layout-sections-b09ba4b3.js.map +1 -0
- package/dist/cjs/item-section-utils-8579462c.js +11 -0
- package/dist/cjs/item-section-utils-8579462c.js.map +1 -0
- package/dist/cjs/{result-template-common-88359dad.js → result-template-common-84bd4057.js} +3 -3
- package/dist/cjs/result-template-common-84bd4057.js.map +1 -0
- package/dist/cjs/version.cjs.js +1 -1
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-2c22562c.js → analytics-config-a7235d19.js} +2 -2
- package/dist/esm/{analytics-config-2c22562c.js.map → analytics-config-a7235d19.js.map} +1 -1
- package/dist/esm/atomic-category-facet.entry.js +17 -7
- package/dist/esm/atomic-category-facet.entry.js.map +1 -1
- package/dist/esm/atomic-facet.entry.js +1 -1
- package/dist/esm/atomic-field-condition.entry.js +2 -2
- package/dist/esm/atomic-folded-result-list.entry.js +2 -2
- 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-insight-folded-result-list.entry.js +2 -2
- package/dist/esm/atomic-insight-history-toggle.entry.js +2 -2
- package/dist/esm/atomic-insight-history-toggle.entry.js.map +1 -1
- package/dist/esm/atomic-insight-interface.entry.js +3 -3
- package/dist/esm/atomic-insight-layout.entry.js +2 -2
- package/dist/esm/atomic-insight-result-action-bar.entry.js +2 -5
- package/dist/esm/atomic-insight-result-action-bar.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-children-template.entry.js +2 -2
- package/dist/esm/atomic-insight-result-list.entry.js +2 -2
- package/dist/esm/atomic-insight-result-template.entry.js +2 -2
- package/dist/esm/atomic-insight-result.entry.js +2 -2
- package/dist/esm/atomic-insight-user-actions-toggle.entry.js +2 -2
- package/dist/esm/atomic-insight-user-actions-toggle.entry.js.map +1 -1
- package/dist/esm/atomic-ipx-recs-list.entry.js +2 -2
- package/dist/{atomic/components/sections.js → esm/atomic-layout-section-utils-c8ca7445.js} +1 -1
- package/dist/esm/atomic-layout-section-utils-c8ca7445.js.map +1 -0
- package/dist/esm/atomic-numeric-facet.entry.js +1 -1
- package/dist/esm/atomic-quickview-modal.entry.js +23 -23
- package/dist/esm/atomic-quickview-modal.entry.js.map +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-recs-list.entry.js +2 -2
- package/dist/esm/atomic-recs-result-template.entry.js +2 -2
- package/dist/esm/atomic-recs-result.entry.js +2 -2
- package/dist/esm/atomic-refine-modal.entry.js +2 -2
- package/dist/esm/atomic-refine-modal.entry.js.map +1 -1
- package/dist/esm/atomic-result-children-template.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/{atomic-result-placeholder_2.entry.js → atomic-result-placeholder_8.entry.js} +68 -6
- package/dist/esm/atomic-result-placeholder_8.entry.js.map +1 -0
- package/dist/esm/atomic-result-section-children.entry.js +19 -0
- package/dist/esm/atomic-result-section-children.entry.js.map +1 -0
- package/dist/esm/atomic-result-section-emphasized.entry.js +19 -0
- package/dist/esm/atomic-result-section-emphasized.entry.js.map +1 -0
- package/dist/esm/atomic-result-section-title-metadata.entry.js +19 -0
- package/dist/esm/atomic-result-section-title-metadata.entry.js.map +1 -0
- package/dist/esm/atomic-result-template.entry.js +2 -2
- package/dist/esm/atomic-result.entry.js +2 -2
- package/dist/esm/atomic-search-box-query-suggestions.entry.js +72 -0
- package/dist/esm/atomic-search-box-query-suggestions.entry.js.map +1 -0
- package/dist/esm/atomic-search-box.entry.js +3 -3
- 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/clock-b1f5d7f7.js +5 -0
- package/dist/esm/clock-b1f5d7f7.js.map +1 -0
- package/dist/esm/{display-options-c16840c6.js → display-options-1199eed5.js} +2 -2
- package/dist/esm/display-options-1199eed5.js.map +1 -0
- package/dist/esm/index-3f35faca.js +16 -8
- package/dist/esm/{insight-layout-776b87f2.js → insight-layout-a1e4b795.js} +2 -2
- package/dist/esm/insight-layout-a1e4b795.js.map +1 -0
- package/dist/esm/{sections-d787040b.js → item-layout-sections-8afb5049.js} +1 -1
- package/dist/esm/item-layout-sections-8afb5049.js.map +1 -0
- package/dist/esm/item-section-utils-46828f30.js +9 -0
- package/dist/esm/item-section-utils-46828f30.js.map +1 -0
- package/dist/esm/{result-template-common-ac9fecab.js → result-template-common-995b94f8.js} +2 -2
- package/dist/esm/result-template-common-995b94f8.js.map +1 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.d.ts +2 -3
- package/dist/types/components/common/atomic-layout-section/atomic-layout-section.d.ts +1 -1
- package/dist/types/components/common/facets/category-facet/all-categories-button.d.ts +2 -0
- package/dist/types/components/common/facets/category-facet/all-categories-localized-label.d.ts +6 -0
- package/dist/types/components/common/facets/category-facet/search-value.d.ts +1 -0
- package/dist/types/components/common/facets/category-facet/stencil-all-categories-button.d.ts +2 -0
- package/dist/types/components/common/facets/category-facet/stencil-search-value.d.ts +1 -0
- package/dist/types/components/common/facets/facet-search/facet-search-input-guard.d.ts +1 -1
- package/dist/types/components/common/layout/item-layout-sections.d.ts +6 -0
- package/dist/types/components/common/no-items/guard.d.ts +1 -1
- package/dist/types/components/common/refine-modal/guard.d.ts +1 -1
- package/dist/types/components/common/sort/sort-guard.d.ts +1 -1
- package/dist/types/components/common/validate-props-controller/validate-props-controller.d.ts +32 -0
- package/dist/types/components/search/atomic-relevance-inspector/atomic-relevance-inspector.d.ts +18 -8
- package/dist/types/components/search/atomic-search-box-recent-queries/atomic-search-box-recent-queries.d.ts +45 -0
- package/dist/types/components/search/atomic-search-interface/atomic-search-interface.d.ts +5 -3
- package/dist/types/components/search/index.d.ts +2 -9
- package/dist/types/components/search/{atomic-result-section-actions → result-template-components/atomic-result-sections}/atomic-result-section-actions.d.ts +3 -9
- package/dist/types/components/search/{atomic-result-section-badges → result-template-components/atomic-result-sections}/atomic-result-section-badges.d.ts +3 -9
- package/dist/types/components/search/{atomic-result-section-bottom-metadata → result-template-components/atomic-result-sections}/atomic-result-section-bottom-metadata.d.ts +3 -9
- package/dist/types/components/search/result-template-components/atomic-result-sections/atomic-result-section-children.d.ts +10 -0
- package/dist/types/components/search/result-template-components/atomic-result-sections/atomic-result-section-emphasized.d.ts +12 -0
- package/dist/types/components/search/{atomic-result-section-excerpt → result-template-components/atomic-result-sections}/atomic-result-section-excerpt.d.ts +3 -9
- package/dist/types/components/search/result-template-components/atomic-result-sections/atomic-result-section-title-metadata.d.ts +13 -0
- package/dist/types/components/search/{atomic-result-section-title → result-template-components/atomic-result-sections}/atomic-result-section-title.d.ts +3 -9
- package/dist/types/components/search/result-template-components/atomic-result-sections/atomic-result-section-visual.d.ts +20 -0
- package/dist/types/components.d.ts +413 -102
- package/dist/types/directives/hierarchical-path.d.ts +1 -1
- package/dist/types/utils/compare-utils.d.ts +9 -0
- package/docs/atomic-docs.json +275 -185
- package/package.json +1 -1
- package/dist/atomic/components/atomic-relevance-inspector.d.ts +0 -11
- package/dist/atomic/components/atomic-relevance-inspector.js +0 -53
- package/dist/atomic/components/atomic-relevance-inspector.js.map +0 -1
- package/dist/atomic/components/atomic-search-box-recent-queries.d.ts +0 -11
- package/dist/atomic/components/atomic-search-box-recent-queries.js +0 -8
- package/dist/atomic/components/atomic-search-box-recent-queries.js.map +0 -1
- package/dist/atomic/components/atomic-search-box-recent-queries2.js +0 -183
- package/dist/atomic/components/atomic-search-box-recent-queries2.js.map +0 -1
- package/dist/atomic/components/components/search/atomic-result-section-actions/atomic-result-section-actions.js +0 -25
- package/dist/atomic/components/components/search/atomic-result-section-badges/atomic-result-section-badges.js +0 -24
- package/dist/atomic/components/components/search/atomic-result-section-bottom-metadata/atomic-result-section-bottom-metadata.js +0 -25
- package/dist/atomic/components/components/search/atomic-result-section-children/atomic-result-section-children.js +0 -21
- package/dist/atomic/components/components/search/atomic-result-section-emphasized/atomic-result-section-emphasized.js +0 -23
- package/dist/atomic/components/components/search/atomic-result-section-excerpt/atomic-result-section-excerpt.js +0 -24
- package/dist/atomic/components/components/search/atomic-result-section-title/atomic-result-section-title.js +0 -24
- package/dist/atomic/components/components/search/atomic-result-section-title-metadata/atomic-result-section-title-metadata.js +0 -24
- package/dist/atomic/components/components/search/atomic-result-section-visual/atomic-result-section-visual.js +0 -29
- package/dist/atomic/components/sections.js.map +0 -1
- package/dist/atomic/components/sections2.js.map +0 -1
- package/dist/atomic/p-0bdd730f.entry.js.map +0 -1
- package/dist/atomic/p-250f34d4.entry.js +0 -2
- package/dist/atomic/p-27b8404c.js.map +0 -1
- package/dist/atomic/p-2caa1859.js.map +0 -1
- package/dist/atomic/p-7709fba4.js.map +0 -1
- package/dist/atomic/p-7c3c5f07.entry.js.map +0 -1
- package/dist/atomic/p-8de99e50.entry.js +0 -2
- package/dist/atomic/p-8de99e50.entry.js.map +0 -1
- package/dist/atomic/p-97748161.js.map +0 -1
- package/dist/atomic/p-9c7dbbdf.js.map +0 -1
- package/dist/atomic/p-a71f04f4.entry.js +0 -2
- package/dist/atomic/p-a71f04f4.entry.js.map +0 -1
- package/dist/atomic/p-bd3542d2.entry.js.map +0 -1
- package/dist/atomic/p-de687bed.entry.js +0 -2
- package/dist/atomic/p-de687bed.entry.js.map +0 -1
- package/dist/atomic/p-df4397ab.entry.js +0 -2
- package/dist/atomic/p-df4397ab.entry.js.map +0 -1
- package/dist/cjs/atomic-relevance-inspector.cjs.entry.js +0 -38
- package/dist/cjs/atomic-relevance-inspector.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-result-placeholder_2.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +0 -234
- package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js.map +0 -1
- package/dist/cjs/clock-f03ff827.js +0 -7
- package/dist/cjs/clock-f03ff827.js.map +0 -1
- package/dist/cjs/display-options-14f05862.js.map +0 -1
- package/dist/cjs/insight-layout-355a94dd.js.map +0 -1
- package/dist/cjs/result-template-common-88359dad.js.map +0 -1
- package/dist/cjs/sections-4b4af2f8.js.map +0 -1
- package/dist/cjs/sections-fbb93b53.js.map +0 -1
- package/dist/esm/atomic-relevance-inspector.entry.js +0 -34
- package/dist/esm/atomic-relevance-inspector.entry.js.map +0 -1
- package/dist/esm/atomic-result-placeholder_2.entry.js.map +0 -1
- package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +0 -229
- package/dist/esm/atomic-search-box-query-suggestions_2.entry.js.map +0 -1
- package/dist/esm/clock-add3e9a5.js +0 -5
- package/dist/esm/clock-add3e9a5.js.map +0 -1
- package/dist/esm/display-options-c16840c6.js.map +0 -1
- package/dist/esm/insight-layout-776b87f2.js.map +0 -1
- package/dist/esm/result-template-common-ac9fecab.js.map +0 -1
- package/dist/esm/sections-ae00b53a.js.map +0 -1
- package/dist/types/components/common/layout/sections.d.ts +0 -6
- package/dist/types/components/search/atomic-result-section-children/atomic-result-section-children.d.ts +0 -16
- package/dist/types/components/search/atomic-result-section-emphasized/atomic-result-section-emphasized.d.ts +0 -18
- package/dist/types/components/search/atomic-result-section-title-metadata/atomic-result-section-title-metadata.d.ts +0 -19
- package/dist/types/components/search/atomic-result-section-visual/atomic-result-section-visual.d.ts +0 -26
- package/dist/types/components/search/search-box-suggestions/atomic-search-box-recent-queries/atomic-search-box-recent-queries.d.ts +0 -37
- /package/dist/atomic/components/components/common/atomic-layout-section/{sections.js → atomic-layout-section-utils.js} +0 -0
- /package/dist/atomic/{p-475124d2.entry.js.map → p-01511388.entry.js.map} +0 -0
- /package/dist/atomic/{p-60800b2f.entry.js.map → p-0ed76e65.entry.js.map} +0 -0
- /package/dist/atomic/{p-5f706e3d.entry.js.map → p-170c7da6.entry.js.map} +0 -0
- /package/dist/atomic/{p-3857d6a3.entry.js.map → p-1bbaf206.entry.js.map} +0 -0
- /package/dist/atomic/{p-4723ffa5.entry.js.map → p-20b33c18.entry.js.map} +0 -0
- /package/dist/atomic/{p-16f6c1f3.entry.js.map → p-2fb49fe8.entry.js.map} +0 -0
- /package/dist/atomic/{p-13391e75.entry.js.map → p-3549a469.entry.js.map} +0 -0
- /package/dist/atomic/{p-d6e04719.entry.js.map → p-373448df.entry.js.map} +0 -0
- /package/dist/atomic/{p-88af4470.entry.js.map → p-40c1dfcb.entry.js.map} +0 -0
- /package/dist/atomic/{p-20764605.entry.js.map → p-52d5461a.entry.js.map} +0 -0
- /package/dist/atomic/{p-406a288c.entry.js.map → p-6078667f.entry.js.map} +0 -0
- /package/dist/atomic/{p-250f34d4.entry.js.map → p-62e85c20.entry.js.map} +0 -0
- /package/dist/atomic/{p-f2000522.js.map → p-6e0a147c.js.map} +0 -0
- /package/dist/atomic/{p-93da1f4e.entry.js.map → p-6f34dd3a.entry.js.map} +0 -0
- /package/dist/atomic/{p-0c0b8d41.entry.js.map → p-768b172e.entry.js.map} +0 -0
- /package/dist/atomic/{p-3cbab25b.entry.js.map → p-7e971d15.entry.js.map} +0 -0
- /package/dist/atomic/{p-a4d277c7.entry.js.map → p-7fd5b6ac.entry.js.map} +0 -0
- /package/dist/atomic/{p-4601eb93.entry.js.map → p-83d3857f.entry.js.map} +0 -0
- /package/dist/atomic/{p-dbcef3a9.entry.js.map → p-87f69e53.entry.js.map} +0 -0
- /package/dist/atomic/{p-6289adc7.entry.js.map → p-9239be63.entry.js.map} +0 -0
- /package/dist/atomic/{p-f71b14b2.entry.js.map → p-9260dd7d.entry.js.map} +0 -0
- /package/dist/atomic/{p-ed8e5c4d.entry.js.map → p-98dd6df1.entry.js.map} +0 -0
- /package/dist/atomic/{p-0b5efb51.entry.js.map → p-a1e5f767.entry.js.map} +0 -0
- /package/dist/atomic/{p-ba5b3f06.entry.js.map → p-a5da1add.entry.js.map} +0 -0
- /package/dist/atomic/{p-1db20a4a.entry.js.map → p-a5f66ecd.entry.js.map} +0 -0
- /package/dist/atomic/{p-7ec6dd3e.entry.js.map → p-af1b4924.entry.js.map} +0 -0
- /package/dist/atomic/{p-e398835b.entry.js.map → p-b2b9e83f.entry.js.map} +0 -0
- /package/dist/atomic/{p-8fdef8a3.entry.js.map → p-b313058c.entry.js.map} +0 -0
- /package/dist/atomic/{p-3a7a1a00.entry.js.map → p-bbfe727a.entry.js.map} +0 -0
- /package/dist/atomic/{p-0a31d0fe.entry.js.map → p-bdbab2bb.entry.js.map} +0 -0
- /package/dist/atomic/{p-97ce3384.entry.js.map → p-be2a43f4.entry.js.map} +0 -0
- /package/dist/atomic/{p-577d34ba.entry.js.map → p-c4fb6426.entry.js.map} +0 -0
- /package/dist/atomic/{p-a5714bc4.entry.js.map → p-d211a422.entry.js.map} +0 -0
- /package/dist/atomic/{p-9faad55b.entry.js.map → p-dc128135.entry.js.map} +0 -0
- /package/dist/atomic/{p-c280cd05.js.map → p-e1cc5150.js.map} +0 -0
- /package/dist/atomic/{p-d1795580.entry.js.map → p-e7a25b00.entry.js.map} +0 -0
- /package/dist/types/components/common/atomic-layout-section/{sections.d.ts → atomic-layout-section-utils.d.ts} +0 -0
@@ -20,7 +20,6 @@ import { InsightResultAttachToCaseEvent } from "./components/insight/atomic-insi
|
|
20
20
|
import { RecommendationEngine, InteractiveResult as RecsInteractiveResult, LogLevel as RecsLogLevel, Result as RecsResult, ResultTemplate as RecsResultTemplate, ResultTemplateCondition as RecsResultTemplateCondition } from "@coveo/headless/recommendation";
|
21
21
|
import { RecsInitializationOptions } from "./components/recommendations/atomic-recs-interface/atomic-recs-interface";
|
22
22
|
import { RecsStore } from "./components/recommendations/atomic-recs-interface/store";
|
23
|
-
import { Bindings } from "./components/search/atomic-search-interface/atomic-search-interface";
|
24
23
|
import { SearchStore } from "./components/search/atomic-search-interface/store";
|
25
24
|
import { RedirectionPayload } from "./components/common/search-box/redirection-payload";
|
26
25
|
import { AriaLabelGenerator } from "./components/search/search-box-suggestions/atomic-search-box-instant-results/atomic-search-box-instant-results";
|
@@ -40,7 +39,6 @@ export { InsightResultAttachToCaseEvent } from "./components/insight/atomic-insi
|
|
40
39
|
export { RecommendationEngine, InteractiveResult as RecsInteractiveResult, LogLevel as RecsLogLevel, Result as RecsResult, ResultTemplate as RecsResultTemplate, ResultTemplateCondition as RecsResultTemplateCondition } from "@coveo/headless/recommendation";
|
41
40
|
export { RecsInitializationOptions } from "./components/recommendations/atomic-recs-interface/atomic-recs-interface";
|
42
41
|
export { RecsStore } from "./components/recommendations/atomic-recs-interface/store";
|
43
|
-
export { Bindings } from "./components/search/atomic-search-interface/atomic-search-interface";
|
44
42
|
export { SearchStore } from "./components/search/atomic-search-interface/store";
|
45
43
|
export { RedirectionPayload } from "./components/common/search-box/redirection-payload";
|
46
44
|
export { AriaLabelGenerator } from "./components/search/search-box-suggestions/atomic-search-box-instant-results/atomic-search-box-instant-results";
|
@@ -1821,16 +1819,6 @@ export namespace Components {
|
|
1821
1819
|
*/
|
1822
1820
|
"collapseFacetsAfter": number;
|
1823
1821
|
}
|
1824
|
-
/**
|
1825
|
-
* The `atomic-relevance-inspector` component is used internally to offer insight on search page relevance, as well as information to help troubleshoot issues during development.
|
1826
|
-
*/
|
1827
|
-
interface AtomicRelevanceInspector {
|
1828
|
-
/**
|
1829
|
-
* The Atomic interface bindings, namely the headless search engine and i18n instances.
|
1830
|
-
*/
|
1831
|
-
"bindings": Bindings;
|
1832
|
-
"open": boolean;
|
1833
|
-
}
|
1834
1822
|
/**
|
1835
1823
|
* The `atomic-result` component is used internally by the `atomic-result-list` component.
|
1836
1824
|
*/
|
@@ -2162,6 +2150,100 @@ export namespace Components {
|
|
2162
2150
|
*/
|
2163
2151
|
"maxValueInIndex": number;
|
2164
2152
|
}
|
2153
|
+
/**
|
2154
|
+
* This section allows the information seeker to perform an action on an item without having to view its details.
|
2155
|
+
* For example, in Commerce you can add an item to the cart directly or add it to a wish list to view at a later time.
|
2156
|
+
* Behavior:
|
2157
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
2158
|
+
* ** You should ensure that elements inside of it have `height: var(--line-height)`.
|
2159
|
+
* * Is a wrapping flexbox with a gap.
|
2160
|
+
* * May appear over, next to, or beneath the visual section.
|
2161
|
+
*/
|
2162
|
+
interface AtomicResultSectionActions {
|
2163
|
+
}
|
2164
|
+
/**
|
2165
|
+
* This section provides badges that highlight special features of the item.
|
2166
|
+
* Behavior:
|
2167
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
2168
|
+
* ** You should ensure that elements inside of it have `height: var(--line-height)`.
|
2169
|
+
* * Is a wrapping flexbox with a gap.
|
2170
|
+
* * May appear over, next to, or beneath the visual section.
|
2171
|
+
*/
|
2172
|
+
interface AtomicResultSectionBadges {
|
2173
|
+
}
|
2174
|
+
/**
|
2175
|
+
* This section displays additional descriptive information about the item.
|
2176
|
+
* Behavior:
|
2177
|
+
* * Has a maximum height of two lines.
|
2178
|
+
* ** We recommend that you use `atomic-result-fields-list` to ensure that the fields in this section don’t overflow.
|
2179
|
+
* * Exposes the `--line-height` variable so child elements can adjust to the current line height.
|
2180
|
+
* * Has a defined CSS `color` property for text.
|
2181
|
+
* * Has a font weight.
|
2182
|
+
*/
|
2183
|
+
interface AtomicResultSectionBottomMetadata {
|
2184
|
+
}
|
2185
|
+
/**
|
2186
|
+
* This section displays the folded results, available when using the <atomic-result-children> component.
|
2187
|
+
* Behavior:
|
2188
|
+
* * Shows children at the bottom of the result, indented and wrapped in a border.
|
2189
|
+
*/
|
2190
|
+
interface AtomicResultSectionChildren {
|
2191
|
+
}
|
2192
|
+
/**
|
2193
|
+
* This section displays the field that's important for its search criteria.
|
2194
|
+
* For example, in Commerce, a product's cost is often more important than the title itself.
|
2195
|
+
* Behavior:
|
2196
|
+
* * Has a very large font size.
|
2197
|
+
* * Is the second closest element beneath the title section.
|
2198
|
+
*/
|
2199
|
+
interface AtomicResultSectionEmphasized {
|
2200
|
+
}
|
2201
|
+
/**
|
2202
|
+
* This section contains an informative summary of the item's content.
|
2203
|
+
* Behavior:
|
2204
|
+
* * Has a fixed height of one to three lines, depending on the layout and density.
|
2205
|
+
* * Ellipses overflowing text.
|
2206
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
2207
|
+
* * Has a defined CSS `color` property for text.
|
2208
|
+
*/
|
2209
|
+
interface AtomicResultSectionExcerpt {
|
2210
|
+
}
|
2211
|
+
/**
|
2212
|
+
* This section identifies the item by its name, and its main use is to make the result list scannable.
|
2213
|
+
* This is usually the page title.
|
2214
|
+
* Behavior:
|
2215
|
+
* * Has a fixed height of two lines on grid layouts.
|
2216
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
2217
|
+
* * Has a defined CSS `color` property for text.
|
2218
|
+
*/
|
2219
|
+
interface AtomicResultSectionTitle {
|
2220
|
+
}
|
2221
|
+
/**
|
2222
|
+
* This section surfaces some fields that are directly related to the title of the item.
|
2223
|
+
* For example, in Commerce, this could be the item's rating, which is tied to the nature of the product itself,
|
2224
|
+
* rather than to the product's description.
|
2225
|
+
* Behavior:
|
2226
|
+
* * Has a very small font size.
|
2227
|
+
* * Is the closest element beneath the title section.
|
2228
|
+
*/
|
2229
|
+
interface AtomicResultSectionTitleMetadata {
|
2230
|
+
}
|
2231
|
+
/**
|
2232
|
+
* This section provides visual information about the item.
|
2233
|
+
* For example, in Commerce, an image is a great shorthand for a product category.
|
2234
|
+
* An icon can quickly show the item type, or an avatar can help identify to whom it is related.
|
2235
|
+
* Behavior:
|
2236
|
+
* * Has a fixed size that depends on the specified image size, the layout, the density, and the screen size.
|
2237
|
+
* ** When the image size is set to `icon`, this section stays very small.
|
2238
|
+
* ** You should ensure that elements inside of it take the available space.
|
2239
|
+
* * Always has a 1:1 aspect ratio.
|
2240
|
+
*/
|
2241
|
+
interface AtomicResultSectionVisual {
|
2242
|
+
/**
|
2243
|
+
* How large or small the visual section of results using this template should be.
|
2244
|
+
*/
|
2245
|
+
"imageSize"?: ItemDisplayImageSize;
|
2246
|
+
}
|
2165
2247
|
/**
|
2166
2248
|
* The `atomic-result-table-placeholder` component provides an intermediate visual state that is rendered before the first results are available.
|
2167
2249
|
*/
|
@@ -2317,23 +2399,6 @@ export namespace Components {
|
|
2317
2399
|
*/
|
2318
2400
|
"maxWithoutQuery"?: number;
|
2319
2401
|
}
|
2320
|
-
/**
|
2321
|
-
* The `atomic-search-box-recent-queries` component can be added as a child of an `atomic-search-box` component, allowing for the configuration of recent query suggestions.
|
2322
|
-
*/
|
2323
|
-
interface AtomicSearchBoxRecentQueries {
|
2324
|
-
/**
|
2325
|
-
* The SVG icon to display. - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location. - Use a value that starts with `assets://`, to display an icon from the Atomic package. - Use a stringified SVG to display it directly.
|
2326
|
-
*/
|
2327
|
-
"icon"?: string;
|
2328
|
-
/**
|
2329
|
-
* The maximum number of suggestions that will be displayed if the user has typed something into the input field.
|
2330
|
-
*/
|
2331
|
-
"maxWithQuery": number;
|
2332
|
-
/**
|
2333
|
-
* The maximum number of suggestions that will be displayed initially when the input field is empty.
|
2334
|
-
*/
|
2335
|
-
"maxWithoutQuery"?: number;
|
2336
|
-
}
|
2337
2402
|
/**
|
2338
2403
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
2339
2404
|
*/
|
@@ -2750,10 +2815,6 @@ export interface AtomicQuickviewModalCustomEvent<T> extends CustomEvent<T> {
|
|
2750
2815
|
detail: T;
|
2751
2816
|
target: HTMLAtomicQuickviewModalElement;
|
2752
2817
|
}
|
2753
|
-
export interface AtomicRelevanceInspectorCustomEvent<T> extends CustomEvent<T> {
|
2754
|
-
detail: T;
|
2755
|
-
target: HTMLAtomicRelevanceInspectorElement;
|
2756
|
-
}
|
2757
2818
|
export interface AtomicSearchBoxCustomEvent<T> extends CustomEvent<T> {
|
2758
2819
|
detail: T;
|
2759
2820
|
target: HTMLAtomicSearchBoxElement;
|
@@ -3565,26 +3626,6 @@ declare global {
|
|
3565
3626
|
prototype: HTMLAtomicRefineToggleElement;
|
3566
3627
|
new (): HTMLAtomicRefineToggleElement;
|
3567
3628
|
};
|
3568
|
-
interface HTMLAtomicRelevanceInspectorElementEventMap {
|
3569
|
-
"atomic/relevanceInspector/close": any;
|
3570
|
-
}
|
3571
|
-
/**
|
3572
|
-
* The `atomic-relevance-inspector` component is used internally to offer insight on search page relevance, as well as information to help troubleshoot issues during development.
|
3573
|
-
*/
|
3574
|
-
interface HTMLAtomicRelevanceInspectorElement extends Components.AtomicRelevanceInspector, HTMLStencilElement {
|
3575
|
-
addEventListener<K extends keyof HTMLAtomicRelevanceInspectorElementEventMap>(type: K, listener: (this: HTMLAtomicRelevanceInspectorElement, ev: AtomicRelevanceInspectorCustomEvent<HTMLAtomicRelevanceInspectorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
3576
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
3577
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
3578
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
3579
|
-
removeEventListener<K extends keyof HTMLAtomicRelevanceInspectorElementEventMap>(type: K, listener: (this: HTMLAtomicRelevanceInspectorElement, ev: AtomicRelevanceInspectorCustomEvent<HTMLAtomicRelevanceInspectorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
3580
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
3581
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
3582
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
3583
|
-
}
|
3584
|
-
var HTMLAtomicRelevanceInspectorElement: {
|
3585
|
-
prototype: HTMLAtomicRelevanceInspectorElement;
|
3586
|
-
new (): HTMLAtomicRelevanceInspectorElement;
|
3587
|
-
};
|
3588
3629
|
/**
|
3589
3630
|
* The `atomic-result` component is used internally by the `atomic-result-list` component.
|
3590
3631
|
*/
|
@@ -3782,6 +3823,132 @@ declare global {
|
|
3782
3823
|
prototype: HTMLAtomicResultRatingElement;
|
3783
3824
|
new (): HTMLAtomicResultRatingElement;
|
3784
3825
|
};
|
3826
|
+
/**
|
3827
|
+
* This section allows the information seeker to perform an action on an item without having to view its details.
|
3828
|
+
* For example, in Commerce you can add an item to the cart directly or add it to a wish list to view at a later time.
|
3829
|
+
* Behavior:
|
3830
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
3831
|
+
* ** You should ensure that elements inside of it have `height: var(--line-height)`.
|
3832
|
+
* * Is a wrapping flexbox with a gap.
|
3833
|
+
* * May appear over, next to, or beneath the visual section.
|
3834
|
+
*/
|
3835
|
+
interface HTMLAtomicResultSectionActionsElement extends Components.AtomicResultSectionActions, HTMLStencilElement {
|
3836
|
+
}
|
3837
|
+
var HTMLAtomicResultSectionActionsElement: {
|
3838
|
+
prototype: HTMLAtomicResultSectionActionsElement;
|
3839
|
+
new (): HTMLAtomicResultSectionActionsElement;
|
3840
|
+
};
|
3841
|
+
/**
|
3842
|
+
* This section provides badges that highlight special features of the item.
|
3843
|
+
* Behavior:
|
3844
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
3845
|
+
* ** You should ensure that elements inside of it have `height: var(--line-height)`.
|
3846
|
+
* * Is a wrapping flexbox with a gap.
|
3847
|
+
* * May appear over, next to, or beneath the visual section.
|
3848
|
+
*/
|
3849
|
+
interface HTMLAtomicResultSectionBadgesElement extends Components.AtomicResultSectionBadges, HTMLStencilElement {
|
3850
|
+
}
|
3851
|
+
var HTMLAtomicResultSectionBadgesElement: {
|
3852
|
+
prototype: HTMLAtomicResultSectionBadgesElement;
|
3853
|
+
new (): HTMLAtomicResultSectionBadgesElement;
|
3854
|
+
};
|
3855
|
+
/**
|
3856
|
+
* This section displays additional descriptive information about the item.
|
3857
|
+
* Behavior:
|
3858
|
+
* * Has a maximum height of two lines.
|
3859
|
+
* ** We recommend that you use `atomic-result-fields-list` to ensure that the fields in this section don’t overflow.
|
3860
|
+
* * Exposes the `--line-height` variable so child elements can adjust to the current line height.
|
3861
|
+
* * Has a defined CSS `color` property for text.
|
3862
|
+
* * Has a font weight.
|
3863
|
+
*/
|
3864
|
+
interface HTMLAtomicResultSectionBottomMetadataElement extends Components.AtomicResultSectionBottomMetadata, HTMLStencilElement {
|
3865
|
+
}
|
3866
|
+
var HTMLAtomicResultSectionBottomMetadataElement: {
|
3867
|
+
prototype: HTMLAtomicResultSectionBottomMetadataElement;
|
3868
|
+
new (): HTMLAtomicResultSectionBottomMetadataElement;
|
3869
|
+
};
|
3870
|
+
/**
|
3871
|
+
* This section displays the folded results, available when using the <atomic-result-children> component.
|
3872
|
+
* Behavior:
|
3873
|
+
* * Shows children at the bottom of the result, indented and wrapped in a border.
|
3874
|
+
*/
|
3875
|
+
interface HTMLAtomicResultSectionChildrenElement extends Components.AtomicResultSectionChildren, HTMLStencilElement {
|
3876
|
+
}
|
3877
|
+
var HTMLAtomicResultSectionChildrenElement: {
|
3878
|
+
prototype: HTMLAtomicResultSectionChildrenElement;
|
3879
|
+
new (): HTMLAtomicResultSectionChildrenElement;
|
3880
|
+
};
|
3881
|
+
/**
|
3882
|
+
* This section displays the field that's important for its search criteria.
|
3883
|
+
* For example, in Commerce, a product's cost is often more important than the title itself.
|
3884
|
+
* Behavior:
|
3885
|
+
* * Has a very large font size.
|
3886
|
+
* * Is the second closest element beneath the title section.
|
3887
|
+
*/
|
3888
|
+
interface HTMLAtomicResultSectionEmphasizedElement extends Components.AtomicResultSectionEmphasized, HTMLStencilElement {
|
3889
|
+
}
|
3890
|
+
var HTMLAtomicResultSectionEmphasizedElement: {
|
3891
|
+
prototype: HTMLAtomicResultSectionEmphasizedElement;
|
3892
|
+
new (): HTMLAtomicResultSectionEmphasizedElement;
|
3893
|
+
};
|
3894
|
+
/**
|
3895
|
+
* This section contains an informative summary of the item's content.
|
3896
|
+
* Behavior:
|
3897
|
+
* * Has a fixed height of one to three lines, depending on the layout and density.
|
3898
|
+
* * Ellipses overflowing text.
|
3899
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
3900
|
+
* * Has a defined CSS `color` property for text.
|
3901
|
+
*/
|
3902
|
+
interface HTMLAtomicResultSectionExcerptElement extends Components.AtomicResultSectionExcerpt, HTMLStencilElement {
|
3903
|
+
}
|
3904
|
+
var HTMLAtomicResultSectionExcerptElement: {
|
3905
|
+
prototype: HTMLAtomicResultSectionExcerptElement;
|
3906
|
+
new (): HTMLAtomicResultSectionExcerptElement;
|
3907
|
+
};
|
3908
|
+
/**
|
3909
|
+
* This section identifies the item by its name, and its main use is to make the result list scannable.
|
3910
|
+
* This is usually the page title.
|
3911
|
+
* Behavior:
|
3912
|
+
* * Has a fixed height of two lines on grid layouts.
|
3913
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
3914
|
+
* * Has a defined CSS `color` property for text.
|
3915
|
+
*/
|
3916
|
+
interface HTMLAtomicResultSectionTitleElement extends Components.AtomicResultSectionTitle, HTMLStencilElement {
|
3917
|
+
}
|
3918
|
+
var HTMLAtomicResultSectionTitleElement: {
|
3919
|
+
prototype: HTMLAtomicResultSectionTitleElement;
|
3920
|
+
new (): HTMLAtomicResultSectionTitleElement;
|
3921
|
+
};
|
3922
|
+
/**
|
3923
|
+
* This section surfaces some fields that are directly related to the title of the item.
|
3924
|
+
* For example, in Commerce, this could be the item's rating, which is tied to the nature of the product itself,
|
3925
|
+
* rather than to the product's description.
|
3926
|
+
* Behavior:
|
3927
|
+
* * Has a very small font size.
|
3928
|
+
* * Is the closest element beneath the title section.
|
3929
|
+
*/
|
3930
|
+
interface HTMLAtomicResultSectionTitleMetadataElement extends Components.AtomicResultSectionTitleMetadata, HTMLStencilElement {
|
3931
|
+
}
|
3932
|
+
var HTMLAtomicResultSectionTitleMetadataElement: {
|
3933
|
+
prototype: HTMLAtomicResultSectionTitleMetadataElement;
|
3934
|
+
new (): HTMLAtomicResultSectionTitleMetadataElement;
|
3935
|
+
};
|
3936
|
+
/**
|
3937
|
+
* This section provides visual information about the item.
|
3938
|
+
* For example, in Commerce, an image is a great shorthand for a product category.
|
3939
|
+
* An icon can quickly show the item type, or an avatar can help identify to whom it is related.
|
3940
|
+
* Behavior:
|
3941
|
+
* * Has a fixed size that depends on the specified image size, the layout, the density, and the screen size.
|
3942
|
+
* ** When the image size is set to `icon`, this section stays very small.
|
3943
|
+
* ** You should ensure that elements inside of it take the available space.
|
3944
|
+
* * Always has a 1:1 aspect ratio.
|
3945
|
+
*/
|
3946
|
+
interface HTMLAtomicResultSectionVisualElement extends Components.AtomicResultSectionVisual, HTMLStencilElement {
|
3947
|
+
}
|
3948
|
+
var HTMLAtomicResultSectionVisualElement: {
|
3949
|
+
prototype: HTMLAtomicResultSectionVisualElement;
|
3950
|
+
new (): HTMLAtomicResultSectionVisualElement;
|
3951
|
+
};
|
3785
3952
|
/**
|
3786
3953
|
* The `atomic-result-table-placeholder` component provides an intermediate visual state that is rendered before the first results are available.
|
3787
3954
|
*/
|
@@ -3860,15 +4027,6 @@ declare global {
|
|
3860
4027
|
prototype: HTMLAtomicSearchBoxQuerySuggestionsElement;
|
3861
4028
|
new (): HTMLAtomicSearchBoxQuerySuggestionsElement;
|
3862
4029
|
};
|
3863
|
-
/**
|
3864
|
-
* The `atomic-search-box-recent-queries` component can be added as a child of an `atomic-search-box` component, allowing for the configuration of recent query suggestions.
|
3865
|
-
*/
|
3866
|
-
interface HTMLAtomicSearchBoxRecentQueriesElement extends Components.AtomicSearchBoxRecentQueries, HTMLStencilElement {
|
3867
|
-
}
|
3868
|
-
var HTMLAtomicSearchBoxRecentQueriesElement: {
|
3869
|
-
prototype: HTMLAtomicSearchBoxRecentQueriesElement;
|
3870
|
-
new (): HTMLAtomicSearchBoxRecentQueriesElement;
|
3871
|
-
};
|
3872
4030
|
/**
|
3873
4031
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
3874
4032
|
*/
|
@@ -4229,7 +4387,6 @@ declare global {
|
|
4229
4387
|
"atomic-recs-result-template": HTMLAtomicRecsResultTemplateElement;
|
4230
4388
|
"atomic-refine-modal": HTMLAtomicRefineModalElement;
|
4231
4389
|
"atomic-refine-toggle": HTMLAtomicRefineToggleElement;
|
4232
|
-
"atomic-relevance-inspector": HTMLAtomicRelevanceInspectorElement;
|
4233
4390
|
"atomic-result": HTMLAtomicResultElement;
|
4234
4391
|
"atomic-result-badge": HTMLAtomicResultBadgeElement;
|
4235
4392
|
"atomic-result-children": HTMLAtomicResultChildrenElement;
|
@@ -4247,6 +4404,15 @@ declare global {
|
|
4247
4404
|
"atomic-result-placeholder": HTMLAtomicResultPlaceholderElement;
|
4248
4405
|
"atomic-result-printable-uri": HTMLAtomicResultPrintableUriElement;
|
4249
4406
|
"atomic-result-rating": HTMLAtomicResultRatingElement;
|
4407
|
+
"atomic-result-section-actions": HTMLAtomicResultSectionActionsElement;
|
4408
|
+
"atomic-result-section-badges": HTMLAtomicResultSectionBadgesElement;
|
4409
|
+
"atomic-result-section-bottom-metadata": HTMLAtomicResultSectionBottomMetadataElement;
|
4410
|
+
"atomic-result-section-children": HTMLAtomicResultSectionChildrenElement;
|
4411
|
+
"atomic-result-section-emphasized": HTMLAtomicResultSectionEmphasizedElement;
|
4412
|
+
"atomic-result-section-excerpt": HTMLAtomicResultSectionExcerptElement;
|
4413
|
+
"atomic-result-section-title": HTMLAtomicResultSectionTitleElement;
|
4414
|
+
"atomic-result-section-title-metadata": HTMLAtomicResultSectionTitleMetadataElement;
|
4415
|
+
"atomic-result-section-visual": HTMLAtomicResultSectionVisualElement;
|
4250
4416
|
"atomic-result-table-placeholder": HTMLAtomicResultTablePlaceholderElement;
|
4251
4417
|
"atomic-result-template": HTMLAtomicResultTemplateElement;
|
4252
4418
|
"atomic-result-text": HTMLAtomicResultTextElement;
|
@@ -4254,7 +4420,6 @@ declare global {
|
|
4254
4420
|
"atomic-search-box": HTMLAtomicSearchBoxElement;
|
4255
4421
|
"atomic-search-box-instant-results": HTMLAtomicSearchBoxInstantResultsElement;
|
4256
4422
|
"atomic-search-box-query-suggestions": HTMLAtomicSearchBoxQuerySuggestionsElement;
|
4257
|
-
"atomic-search-box-recent-queries": HTMLAtomicSearchBoxRecentQueriesElement;
|
4258
4423
|
"atomic-segmented-facet": HTMLAtomicSegmentedFacetElement;
|
4259
4424
|
"atomic-segmented-facet-scrollable": HTMLAtomicSegmentedFacetScrollableElement;
|
4260
4425
|
"atomic-smart-snippet": HTMLAtomicSmartSnippetElement;
|
@@ -5954,17 +6119,6 @@ declare namespace LocalJSX {
|
|
5954
6119
|
*/
|
5955
6120
|
"collapseFacetsAfter"?: number;
|
5956
6121
|
}
|
5957
|
-
/**
|
5958
|
-
* The `atomic-relevance-inspector` component is used internally to offer insight on search page relevance, as well as information to help troubleshoot issues during development.
|
5959
|
-
*/
|
5960
|
-
interface AtomicRelevanceInspector {
|
5961
|
-
/**
|
5962
|
-
* The Atomic interface bindings, namely the headless search engine and i18n instances.
|
5963
|
-
*/
|
5964
|
-
"bindings": Bindings;
|
5965
|
-
"onAtomic/relevanceInspector/close"?: (event: AtomicRelevanceInspectorCustomEvent<any>) => void;
|
5966
|
-
"open"?: boolean;
|
5967
|
-
}
|
5968
6122
|
/**
|
5969
6123
|
* The `atomic-result` component is used internally by the `atomic-result-list` component.
|
5970
6124
|
*/
|
@@ -6274,6 +6428,100 @@ declare namespace LocalJSX {
|
|
6274
6428
|
*/
|
6275
6429
|
"maxValueInIndex"?: number;
|
6276
6430
|
}
|
6431
|
+
/**
|
6432
|
+
* This section allows the information seeker to perform an action on an item without having to view its details.
|
6433
|
+
* For example, in Commerce you can add an item to the cart directly or add it to a wish list to view at a later time.
|
6434
|
+
* Behavior:
|
6435
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
6436
|
+
* ** You should ensure that elements inside of it have `height: var(--line-height)`.
|
6437
|
+
* * Is a wrapping flexbox with a gap.
|
6438
|
+
* * May appear over, next to, or beneath the visual section.
|
6439
|
+
*/
|
6440
|
+
interface AtomicResultSectionActions {
|
6441
|
+
}
|
6442
|
+
/**
|
6443
|
+
* This section provides badges that highlight special features of the item.
|
6444
|
+
* Behavior:
|
6445
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
6446
|
+
* ** You should ensure that elements inside of it have `height: var(--line-height)`.
|
6447
|
+
* * Is a wrapping flexbox with a gap.
|
6448
|
+
* * May appear over, next to, or beneath the visual section.
|
6449
|
+
*/
|
6450
|
+
interface AtomicResultSectionBadges {
|
6451
|
+
}
|
6452
|
+
/**
|
6453
|
+
* This section displays additional descriptive information about the item.
|
6454
|
+
* Behavior:
|
6455
|
+
* * Has a maximum height of two lines.
|
6456
|
+
* ** We recommend that you use `atomic-result-fields-list` to ensure that the fields in this section don’t overflow.
|
6457
|
+
* * Exposes the `--line-height` variable so child elements can adjust to the current line height.
|
6458
|
+
* * Has a defined CSS `color` property for text.
|
6459
|
+
* * Has a font weight.
|
6460
|
+
*/
|
6461
|
+
interface AtomicResultSectionBottomMetadata {
|
6462
|
+
}
|
6463
|
+
/**
|
6464
|
+
* This section displays the folded results, available when using the <atomic-result-children> component.
|
6465
|
+
* Behavior:
|
6466
|
+
* * Shows children at the bottom of the result, indented and wrapped in a border.
|
6467
|
+
*/
|
6468
|
+
interface AtomicResultSectionChildren {
|
6469
|
+
}
|
6470
|
+
/**
|
6471
|
+
* This section displays the field that's important for its search criteria.
|
6472
|
+
* For example, in Commerce, a product's cost is often more important than the title itself.
|
6473
|
+
* Behavior:
|
6474
|
+
* * Has a very large font size.
|
6475
|
+
* * Is the second closest element beneath the title section.
|
6476
|
+
*/
|
6477
|
+
interface AtomicResultSectionEmphasized {
|
6478
|
+
}
|
6479
|
+
/**
|
6480
|
+
* This section contains an informative summary of the item's content.
|
6481
|
+
* Behavior:
|
6482
|
+
* * Has a fixed height of one to three lines, depending on the layout and density.
|
6483
|
+
* * Ellipses overflowing text.
|
6484
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
6485
|
+
* * Has a defined CSS `color` property for text.
|
6486
|
+
*/
|
6487
|
+
interface AtomicResultSectionExcerpt {
|
6488
|
+
}
|
6489
|
+
/**
|
6490
|
+
* This section identifies the item by its name, and its main use is to make the result list scannable.
|
6491
|
+
* This is usually the page title.
|
6492
|
+
* Behavior:
|
6493
|
+
* * Has a fixed height of two lines on grid layouts.
|
6494
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
6495
|
+
* * Has a defined CSS `color` property for text.
|
6496
|
+
*/
|
6497
|
+
interface AtomicResultSectionTitle {
|
6498
|
+
}
|
6499
|
+
/**
|
6500
|
+
* This section surfaces some fields that are directly related to the title of the item.
|
6501
|
+
* For example, in Commerce, this could be the item's rating, which is tied to the nature of the product itself,
|
6502
|
+
* rather than to the product's description.
|
6503
|
+
* Behavior:
|
6504
|
+
* * Has a very small font size.
|
6505
|
+
* * Is the closest element beneath the title section.
|
6506
|
+
*/
|
6507
|
+
interface AtomicResultSectionTitleMetadata {
|
6508
|
+
}
|
6509
|
+
/**
|
6510
|
+
* This section provides visual information about the item.
|
6511
|
+
* For example, in Commerce, an image is a great shorthand for a product category.
|
6512
|
+
* An icon can quickly show the item type, or an avatar can help identify to whom it is related.
|
6513
|
+
* Behavior:
|
6514
|
+
* * Has a fixed size that depends on the specified image size, the layout, the density, and the screen size.
|
6515
|
+
* ** When the image size is set to `icon`, this section stays very small.
|
6516
|
+
* ** You should ensure that elements inside of it take the available space.
|
6517
|
+
* * Always has a 1:1 aspect ratio.
|
6518
|
+
*/
|
6519
|
+
interface AtomicResultSectionVisual {
|
6520
|
+
/**
|
6521
|
+
* How large or small the visual section of results using this template should be.
|
6522
|
+
*/
|
6523
|
+
"imageSize"?: ItemDisplayImageSize;
|
6524
|
+
}
|
6277
6525
|
/**
|
6278
6526
|
* The `atomic-result-table-placeholder` component provides an intermediate visual state that is rendered before the first results are available.
|
6279
6527
|
*/
|
@@ -6424,23 +6672,6 @@ declare namespace LocalJSX {
|
|
6424
6672
|
*/
|
6425
6673
|
"maxWithoutQuery"?: number;
|
6426
6674
|
}
|
6427
|
-
/**
|
6428
|
-
* The `atomic-search-box-recent-queries` component can be added as a child of an `atomic-search-box` component, allowing for the configuration of recent query suggestions.
|
6429
|
-
*/
|
6430
|
-
interface AtomicSearchBoxRecentQueries {
|
6431
|
-
/**
|
6432
|
-
* The SVG icon to display. - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location. - Use a value that starts with `assets://`, to display an icon from the Atomic package. - Use a stringified SVG to display it directly.
|
6433
|
-
*/
|
6434
|
-
"icon"?: string;
|
6435
|
-
/**
|
6436
|
-
* The maximum number of suggestions that will be displayed if the user has typed something into the input field.
|
6437
|
-
*/
|
6438
|
-
"maxWithQuery"?: number;
|
6439
|
-
/**
|
6440
|
-
* The maximum number of suggestions that will be displayed initially when the input field is empty.
|
6441
|
-
*/
|
6442
|
-
"maxWithoutQuery"?: number;
|
6443
|
-
}
|
6444
6675
|
/**
|
6445
6676
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
6446
6677
|
*/
|
@@ -6912,7 +7143,6 @@ declare namespace LocalJSX {
|
|
6912
7143
|
"atomic-recs-result-template": AtomicRecsResultTemplate;
|
6913
7144
|
"atomic-refine-modal": AtomicRefineModal;
|
6914
7145
|
"atomic-refine-toggle": AtomicRefineToggle;
|
6915
|
-
"atomic-relevance-inspector": AtomicRelevanceInspector;
|
6916
7146
|
"atomic-result": AtomicResult;
|
6917
7147
|
"atomic-result-badge": AtomicResultBadge;
|
6918
7148
|
"atomic-result-children": AtomicResultChildren;
|
@@ -6930,6 +7160,15 @@ declare namespace LocalJSX {
|
|
6930
7160
|
"atomic-result-placeholder": AtomicResultPlaceholder;
|
6931
7161
|
"atomic-result-printable-uri": AtomicResultPrintableUri;
|
6932
7162
|
"atomic-result-rating": AtomicResultRating;
|
7163
|
+
"atomic-result-section-actions": AtomicResultSectionActions;
|
7164
|
+
"atomic-result-section-badges": AtomicResultSectionBadges;
|
7165
|
+
"atomic-result-section-bottom-metadata": AtomicResultSectionBottomMetadata;
|
7166
|
+
"atomic-result-section-children": AtomicResultSectionChildren;
|
7167
|
+
"atomic-result-section-emphasized": AtomicResultSectionEmphasized;
|
7168
|
+
"atomic-result-section-excerpt": AtomicResultSectionExcerpt;
|
7169
|
+
"atomic-result-section-title": AtomicResultSectionTitle;
|
7170
|
+
"atomic-result-section-title-metadata": AtomicResultSectionTitleMetadata;
|
7171
|
+
"atomic-result-section-visual": AtomicResultSectionVisual;
|
6933
7172
|
"atomic-result-table-placeholder": AtomicResultTablePlaceholder;
|
6934
7173
|
"atomic-result-template": AtomicResultTemplate;
|
6935
7174
|
"atomic-result-text": AtomicResultText;
|
@@ -6937,7 +7176,6 @@ declare namespace LocalJSX {
|
|
6937
7176
|
"atomic-search-box": AtomicSearchBox;
|
6938
7177
|
"atomic-search-box-instant-results": AtomicSearchBoxInstantResults;
|
6939
7178
|
"atomic-search-box-query-suggestions": AtomicSearchBoxQuerySuggestions;
|
6940
|
-
"atomic-search-box-recent-queries": AtomicSearchBoxRecentQueries;
|
6941
7179
|
"atomic-segmented-facet": AtomicSegmentedFacet;
|
6942
7180
|
"atomic-segmented-facet-scrollable": AtomicSegmentedFacetScrollable;
|
6943
7181
|
"atomic-smart-snippet": AtomicSmartSnippet;
|
@@ -7220,10 +7458,6 @@ declare module "@stencil/core" {
|
|
7220
7458
|
* When this component is added to the `atomic-search-interface`, an `atomic-refine-modal` component is automatically created.
|
7221
7459
|
*/
|
7222
7460
|
"atomic-refine-toggle": LocalJSX.AtomicRefineToggle & JSXBase.HTMLAttributes<HTMLAtomicRefineToggleElement>;
|
7223
|
-
/**
|
7224
|
-
* The `atomic-relevance-inspector` component is used internally to offer insight on search page relevance, as well as information to help troubleshoot issues during development.
|
7225
|
-
*/
|
7226
|
-
"atomic-relevance-inspector": LocalJSX.AtomicRelevanceInspector & JSXBase.HTMLAttributes<HTMLAtomicRelevanceInspectorElement>;
|
7227
7461
|
/**
|
7228
7462
|
* The `atomic-result` component is used internally by the `atomic-result-list` component.
|
7229
7463
|
*/
|
@@ -7336,6 +7570,87 @@ declare module "@stencil/core" {
|
|
7336
7570
|
* The `atomic-result-rating` element renders a star rating.
|
7337
7571
|
*/
|
7338
7572
|
"atomic-result-rating": LocalJSX.AtomicResultRating & JSXBase.HTMLAttributes<HTMLAtomicResultRatingElement>;
|
7573
|
+
/**
|
7574
|
+
* This section allows the information seeker to perform an action on an item without having to view its details.
|
7575
|
+
* For example, in Commerce you can add an item to the cart directly or add it to a wish list to view at a later time.
|
7576
|
+
* Behavior:
|
7577
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
7578
|
+
* ** You should ensure that elements inside of it have `height: var(--line-height)`.
|
7579
|
+
* * Is a wrapping flexbox with a gap.
|
7580
|
+
* * May appear over, next to, or beneath the visual section.
|
7581
|
+
*/
|
7582
|
+
"atomic-result-section-actions": LocalJSX.AtomicResultSectionActions & JSXBase.HTMLAttributes<HTMLAtomicResultSectionActionsElement>;
|
7583
|
+
/**
|
7584
|
+
* This section provides badges that highlight special features of the item.
|
7585
|
+
* Behavior:
|
7586
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
7587
|
+
* ** You should ensure that elements inside of it have `height: var(--line-height)`.
|
7588
|
+
* * Is a wrapping flexbox with a gap.
|
7589
|
+
* * May appear over, next to, or beneath the visual section.
|
7590
|
+
*/
|
7591
|
+
"atomic-result-section-badges": LocalJSX.AtomicResultSectionBadges & JSXBase.HTMLAttributes<HTMLAtomicResultSectionBadgesElement>;
|
7592
|
+
/**
|
7593
|
+
* This section displays additional descriptive information about the item.
|
7594
|
+
* Behavior:
|
7595
|
+
* * Has a maximum height of two lines.
|
7596
|
+
* ** We recommend that you use `atomic-result-fields-list` to ensure that the fields in this section don’t overflow.
|
7597
|
+
* * Exposes the `--line-height` variable so child elements can adjust to the current line height.
|
7598
|
+
* * Has a defined CSS `color` property for text.
|
7599
|
+
* * Has a font weight.
|
7600
|
+
*/
|
7601
|
+
"atomic-result-section-bottom-metadata": LocalJSX.AtomicResultSectionBottomMetadata & JSXBase.HTMLAttributes<HTMLAtomicResultSectionBottomMetadataElement>;
|
7602
|
+
/**
|
7603
|
+
* This section displays the folded results, available when using the <atomic-result-children> component.
|
7604
|
+
* Behavior:
|
7605
|
+
* * Shows children at the bottom of the result, indented and wrapped in a border.
|
7606
|
+
*/
|
7607
|
+
"atomic-result-section-children": LocalJSX.AtomicResultSectionChildren & JSXBase.HTMLAttributes<HTMLAtomicResultSectionChildrenElement>;
|
7608
|
+
/**
|
7609
|
+
* This section displays the field that's important for its search criteria.
|
7610
|
+
* For example, in Commerce, a product's cost is often more important than the title itself.
|
7611
|
+
* Behavior:
|
7612
|
+
* * Has a very large font size.
|
7613
|
+
* * Is the second closest element beneath the title section.
|
7614
|
+
*/
|
7615
|
+
"atomic-result-section-emphasized": LocalJSX.AtomicResultSectionEmphasized & JSXBase.HTMLAttributes<HTMLAtomicResultSectionEmphasizedElement>;
|
7616
|
+
/**
|
7617
|
+
* This section contains an informative summary of the item's content.
|
7618
|
+
* Behavior:
|
7619
|
+
* * Has a fixed height of one to three lines, depending on the layout and density.
|
7620
|
+
* * Ellipses overflowing text.
|
7621
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
7622
|
+
* * Has a defined CSS `color` property for text.
|
7623
|
+
*/
|
7624
|
+
"atomic-result-section-excerpt": LocalJSX.AtomicResultSectionExcerpt & JSXBase.HTMLAttributes<HTMLAtomicResultSectionExcerptElement>;
|
7625
|
+
/**
|
7626
|
+
* This section identifies the item by its name, and its main use is to make the result list scannable.
|
7627
|
+
* This is usually the page title.
|
7628
|
+
* Behavior:
|
7629
|
+
* * Has a fixed height of two lines on grid layouts.
|
7630
|
+
* * Exposes the `--line-height` CSS variable so child elements can adjust to the current line height.
|
7631
|
+
* * Has a defined CSS `color` property for text.
|
7632
|
+
*/
|
7633
|
+
"atomic-result-section-title": LocalJSX.AtomicResultSectionTitle & JSXBase.HTMLAttributes<HTMLAtomicResultSectionTitleElement>;
|
7634
|
+
/**
|
7635
|
+
* This section surfaces some fields that are directly related to the title of the item.
|
7636
|
+
* For example, in Commerce, this could be the item's rating, which is tied to the nature of the product itself,
|
7637
|
+
* rather than to the product's description.
|
7638
|
+
* Behavior:
|
7639
|
+
* * Has a very small font size.
|
7640
|
+
* * Is the closest element beneath the title section.
|
7641
|
+
*/
|
7642
|
+
"atomic-result-section-title-metadata": LocalJSX.AtomicResultSectionTitleMetadata & JSXBase.HTMLAttributes<HTMLAtomicResultSectionTitleMetadataElement>;
|
7643
|
+
/**
|
7644
|
+
* This section provides visual information about the item.
|
7645
|
+
* For example, in Commerce, an image is a great shorthand for a product category.
|
7646
|
+
* An icon can quickly show the item type, or an avatar can help identify to whom it is related.
|
7647
|
+
* Behavior:
|
7648
|
+
* * Has a fixed size that depends on the specified image size, the layout, the density, and the screen size.
|
7649
|
+
* ** When the image size is set to `icon`, this section stays very small.
|
7650
|
+
* ** You should ensure that elements inside of it take the available space.
|
7651
|
+
* * Always has a 1:1 aspect ratio.
|
7652
|
+
*/
|
7653
|
+
"atomic-result-section-visual": LocalJSX.AtomicResultSectionVisual & JSXBase.HTMLAttributes<HTMLAtomicResultSectionVisualElement>;
|
7339
7654
|
/**
|
7340
7655
|
* The `atomic-result-table-placeholder` component provides an intermediate visual state that is rendered before the first results are available.
|
7341
7656
|
*/
|
@@ -7368,10 +7683,6 @@ declare module "@stencil/core" {
|
|
7368
7683
|
* The `atomic-search-box-query-suggestions` component can be added as a child of an `atomic-search-box` component, allowing for the configuration of query suggestion behavior.
|
7369
7684
|
*/
|
7370
7685
|
"atomic-search-box-query-suggestions": LocalJSX.AtomicSearchBoxQuerySuggestions & JSXBase.HTMLAttributes<HTMLAtomicSearchBoxQuerySuggestionsElement>;
|
7371
|
-
/**
|
7372
|
-
* The `atomic-search-box-recent-queries` component can be added as a child of an `atomic-search-box` component, allowing for the configuration of recent query suggestions.
|
7373
|
-
*/
|
7374
|
-
"atomic-search-box-recent-queries": LocalJSX.AtomicSearchBoxRecentQueries & JSXBase.HTMLAttributes<HTMLAtomicSearchBoxRecentQueriesElement>;
|
7375
7686
|
/**
|
7376
7687
|
* The `atomic-segmented-facet` displays a horizontal facet of the results for the current query.
|
7377
7688
|
*/
|
@@ -12,7 +12,7 @@ export interface HierarchicalPathProps {
|
|
12
12
|
}
|
13
13
|
declare class HierarchicalPathDirective extends Directive {
|
14
14
|
constructor(partInfo: PartInfo);
|
15
|
-
render(props: HierarchicalPathProps): string | TemplateResult<1>[]
|
15
|
+
render(props: HierarchicalPathProps): string | TemplateResult | TemplateResult<1>[];
|
16
16
|
private getEllipsedPath;
|
17
17
|
}
|
18
18
|
export declare const hierarchicalPath: (props: HierarchicalPathProps) => import("lit-html/directive.js").DirectiveResult<typeof HierarchicalPathDirective>;
|