@coveo/atomic 3.45.0 → 3.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 -24
- package/dist/atomic/components/_index.js +23 -16
- package/dist/atomic/components/arrow-top-rounded.js +3 -3
- package/dist/atomic/components/atomic-generated-answer-feedback-modal.js +2 -2
- package/dist/atomic/components/atomic-generated-answer-feedback-modal.js.map +1 -1
- package/dist/atomic/components/atomic-insight-folded-result-list.js +4 -11
- package/dist/atomic/components/atomic-insight-folded-result-list.js.map +1 -1
- package/dist/atomic/components/atomic-insight-generated-answer.js +13 -4
- package/dist/atomic/components/atomic-insight-generated-answer.js.map +1 -1
- package/dist/atomic/components/atomic-insight-refine-modal.js +120 -1
- package/dist/atomic/components/atomic-insight-refine-modal.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-action-bar.js +1 -1
- package/dist/atomic/components/atomic-insight-result-action-bar.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-action.js +1 -1
- package/dist/atomic/components/atomic-insight-result-action.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-attach-to-case-action.js +1 -1
- package/dist/atomic/components/atomic-insight-result-attach-to-case-action.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-attach-to-case-indicator.js +2 -2
- package/dist/atomic/components/atomic-insight-result-attach-to-case-indicator.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-children-template.js +31 -2
- package/dist/atomic/components/atomic-insight-result-children-template.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-children.js +3 -9
- package/dist/atomic/components/atomic-insight-result-children.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-list.js +4 -11
- package/dist/atomic/components/atomic-insight-result-list.js.map +1 -1
- package/dist/atomic/components/atomic-insight-result-quickview-action.js +3 -9
- package/dist/atomic/components/atomic-insight-result-quickview-action.js.map +1 -1
- package/dist/atomic/components/atomic-insight-smart-snippet-suggestions.js +1 -1
- package/dist/atomic/components/atomic-insight-smart-snippet-suggestions.js.map +1 -1
- package/dist/atomic/components/atomic-insight-smart-snippet.js +2 -8
- package/dist/atomic/components/atomic-insight-smart-snippet.js.map +1 -1
- package/dist/atomic/components/atomic-insight-timeframe-facet.js +481 -6
- package/dist/atomic/components/atomic-insight-timeframe-facet.js.map +1 -1
- package/dist/atomic/components/atomic-insight-user-actions-modal.js +2 -3
- package/dist/atomic/components/atomic-insight-user-actions-modal.js.map +1 -1
- package/dist/atomic/components/atomic-insight-user-actions-session2.js +4 -3
- package/dist/atomic/components/atomic-insight-user-actions-session2.js.map +1 -1
- package/dist/atomic/components/atomic-insight-user-actions-timeline2.js +1 -1
- package/dist/atomic/components/atomic-insight-user-actions-timeline2.js.map +1 -1
- package/dist/atomic/components/atomic-ipx-body2.js +3 -3
- package/dist/atomic/components/atomic-ipx-body2.js.map +1 -1
- package/dist/atomic/components/atomic-ipx-embedded.js +2 -2
- package/dist/atomic/components/atomic-ipx-embedded.js.map +1 -1
- package/dist/atomic/components/atomic-ipx-modal.js +3 -3
- package/dist/atomic/components/atomic-ipx-modal.js.map +1 -1
- package/dist/atomic/components/atomic-ipx-recs-list.js +4 -11
- package/dist/atomic/components/atomic-ipx-recs-list.js.map +1 -1
- package/dist/atomic/components/atomic-ipx-refine-modal2.js +2 -2
- package/dist/atomic/components/atomic-ipx-refine-modal2.js.map +1 -1
- package/dist/atomic/components/atomic-ipx-refine-toggle.js +7 -3
- package/dist/atomic/components/atomic-ipx-refine-toggle.js.map +1 -1
- package/dist/atomic/components/atomic-ipx-result-link.js +55 -4
- package/dist/atomic/components/atomic-ipx-result-link.js.map +1 -1
- package/dist/atomic/components/atomic-recs-list.js +4 -11
- package/dist/atomic/components/atomic-recs-list.js.map +1 -1
- package/dist/atomic/components/atomic-suggestion-renderer.js +116 -1
- package/dist/atomic/components/atomic-suggestion-renderer.js.map +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-category-facet/atomic-commerce-category-facet.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-product-list/atomic-commerce-product-list.js +2 -2
- package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +2 -2
- package/dist/atomic/components/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.js +2 -2
- package/dist/atomic/components/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.js +2 -2
- package/dist/atomic/components/components/commerce/atomic-product-children/atomic-product-children.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-description/atomic-product-description.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-excerpt/atomic-product-excerpt.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-image/atomic-product-image.js +2 -2
- package/dist/atomic/components/components/commerce/atomic-product-link/atomic-product-link.js +5 -4
- package/dist/atomic/components/components/commerce/atomic-product-link/atomic-product-link.tw.css.js +3 -0
- package/dist/atomic/components/components/commerce/atomic-product-multi-value-text/atomic-product-multi-value-text.js +2 -2
- package/dist/atomic/components/components/commerce/atomic-product-template/atomic-product-template.js +2 -2
- package/dist/atomic/components/components/common/atomic-citation/atomic-citation.js +222 -0
- package/dist/atomic/components/components/common/atomic-citation/atomic-citation.tw.css.js +3 -0
- package/dist/atomic/components/components/common/atomic-citation/citation-anchoring-utils.js +24 -0
- package/dist/atomic/components/components/common/atomic-modal/atomic-modal.js +1 -1
- package/dist/atomic/components/components/common/atomic-smart-snippet-expandable-answer/atomic-smart-snippet-expandable-answer.js +0 -2
- package/dist/atomic/components/components/common/atomic-tab-button/atomic-tab-button.js +1 -0
- package/dist/atomic/components/components/common/atomic-tab-popover/atomic-tab-popover.js +1 -1
- package/dist/atomic/components/components/common/facets/facet-search/facet-search-matches.js +1 -1
- package/dist/atomic/components/components/common/facets/facet-show-more-less/facet-show-more-less.js +1 -1
- package/dist/atomic/components/components/common/facets/numeric-facet/value-link.js +2 -2
- package/dist/atomic/components/components/common/facets/timeframe-facet-common.js +1 -0
- package/dist/atomic/components/components/common/generated-answer/generated-content-container.js +1 -1
- package/dist/atomic/components/components/common/generated-answer/render-answer-content.js +43 -15
- package/dist/atomic/components/components/common/generated-answer/render-citations.js +1 -0
- package/dist/atomic/components/components/common/generated-answer/render-feedback-and-copy-buttons.js +2 -4
- package/dist/atomic/components/components/common/generated-answer/styles/copy-button.tw.css.js +1 -1
- package/dist/atomic/components/components/common/generated-answer/styles/generated-answer.tw.css.js +1 -1
- package/dist/atomic/components/components/common/index.js +1 -0
- package/dist/atomic/components/components/common/item-link/item-link.js +2 -4
- package/dist/atomic/components/components/common/layout/item-layout-controller.js +4 -1
- package/dist/atomic/components/components/common/lazy-index.js +1 -0
- package/dist/atomic/components/components/common/suggestions/query-suggestions.js +3 -2
- package/dist/atomic/components/components/common/validate-props-controller/validate-props-controller.js +5 -3
- package/dist/atomic/components/components/insight/atomic-insight-facet/atomic-insight-facet.js +363 -0
- package/dist/atomic/components/components/insight/atomic-insight-history-toggle/atomic-insight-history-toggle.js +55 -0
- package/dist/atomic/components/components/insight/atomic-insight-interface/atomic-insight-interface.js +1 -2
- package/dist/atomic/components/components/insight/atomic-insight-numeric-facet/atomic-insight-numeric-facet.js +475 -0
- package/dist/atomic/components/components/insight/atomic-insight-refine-toggle/atomic-insight-refine-toggle.js +108 -0
- package/dist/atomic/components/components/insight/atomic-insight-result/atomic-insight-result.js +190 -0
- package/dist/atomic/components/components/insight/atomic-insight-result-template/atomic-insight-result-template.js +3 -2
- package/dist/atomic/components/components/insight/atomic-insight-search-box/atomic-insight-search-box.js +334 -0
- package/dist/atomic/components/components/insight/atomic-insight-search-box/atomic-insight-search-box.tw.css.js +3 -0
- package/dist/atomic/components/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.js +168 -0
- package/dist/atomic/components/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.tw.css.js +3 -0
- package/dist/atomic/components/components/insight/index.js +7 -0
- package/dist/atomic/components/components/insight/lazy-index.js +7 -0
- package/dist/atomic/components/components/ipx/atomic-ipx-button/atomic-ipx-button.js +189 -0
- package/dist/atomic/components/components/ipx/index.js +1 -0
- package/dist/atomic/components/components/ipx/lazy-index.js +1 -0
- package/dist/atomic/components/components/recommendations/atomic-recs-result/atomic-recs-result.js +232 -0
- package/dist/atomic/components/components/recommendations/atomic-recs-result-template/atomic-recs-result-template.js +3 -2
- package/dist/atomic/components/components/recommendations/index.js +1 -0
- package/dist/atomic/components/components/recommendations/lazy-index.js +1 -0
- package/dist/atomic/components/components/search/atomic-automatic-facet/atomic-automatic-facet.js +1 -1
- package/dist/atomic/components/components/search/atomic-automatic-facet-generator/atomic-automatic-facet-generator.js +1 -1
- package/dist/atomic/components/components/search/atomic-breadbox/atomic-breadbox.js +1 -1
- package/dist/atomic/components/components/search/atomic-category-facet/atomic-category-facet.js +2 -2
- package/dist/atomic/components/components/search/atomic-format-currency/atomic-format-currency.js +2 -2
- package/dist/atomic/components/components/search/atomic-format-number/atomic-format-number.js +2 -2
- package/dist/atomic/components/components/search/atomic-format-unit/atomic-format-unit.js +2 -2
- package/dist/atomic/components/components/search/atomic-generated-answer/atomic-generated-answer.js +5 -4
- package/dist/atomic/components/components/search/atomic-notifications/atomic-notifications.js +1 -1
- package/dist/atomic/components/components/search/atomic-quickview-modal/atomic-quickview-modal.js +342 -0
- package/dist/atomic/components/components/search/atomic-quickview-modal/highlight-keywords.js +1 -0
- package/dist/atomic/components/components/search/atomic-rating-facet/atomic-rating-facet.js +2 -2
- package/dist/atomic/components/components/search/atomic-result/atomic-result.js +5 -3
- package/dist/atomic/components/components/search/atomic-result-children-template/atomic-result-children-template.js +2 -2
- package/dist/atomic/components/components/search/atomic-result-icon/atomic-result-icon.js +1 -1
- package/dist/atomic/components/components/search/atomic-result-link/atomic-result-link.js +5 -5
- package/dist/atomic/components/components/search/atomic-result-link/atomic-result-link.tw.css.js +3 -0
- package/dist/atomic/components/components/search/atomic-result-multi-value-text/atomic-result-multi-value-text.js +1 -1
- package/dist/atomic/components/components/search/atomic-result-printable-uri/atomic-result-printable-uri.js +1 -1
- package/dist/atomic/components/components/search/atomic-result-section-bottom-metadata/atomic-result-section-bottom-metadata.js +1 -1
- package/dist/atomic/components/components/search/atomic-result-template/atomic-result-template.js +2 -2
- package/dist/atomic/components/components/search/atomic-search-box/atomic-search-box.js +2 -2
- package/dist/atomic/components/components/search/atomic-search-box-instant-results/atomic-search-box-instant-results.js +1 -1
- package/dist/atomic/components/components/search/atomic-search-box-query-suggestions/atomic-search-box-query-suggestions.js +2 -2
- package/dist/atomic/components/components/search/atomic-search-box-recent-queries/atomic-search-box-recent-queries.js +2 -2
- package/dist/atomic/components/components/search/atomic-segmented-facet-scrollable/atomic-segmented-facet-scrollable.js +2 -2
- package/dist/atomic/components/components/search/atomic-smart-snippet-suggestions/atomic-smart-snippet-suggestions.js +2 -1
- package/dist/atomic/components/components/search/atomic-sort-dropdown/atomic-sort-dropdown.js +16 -4
- package/dist/atomic/components/components/search/atomic-tab-manager/atomic-tab-manager.js +4 -2
- package/dist/atomic/components/components/search/atomic-timeframe-facet/atomic-timeframe-facet.js +340 -0
- package/dist/atomic/components/components/search/index.js +2 -0
- package/dist/atomic/components/components/search/lazy-index.js +2 -0
- package/dist/atomic/components/components/search/result-template-components/atomic-quickview-sidebar/atomic-quickview-sidebar.js +51 -0
- package/dist/atomic/components/components/search/result-template-components/atomic-quickview-sidebar/highlight-keywords-checkbox.js +27 -0
- package/dist/atomic/components/components/search/result-template-components/atomic-quickview-sidebar/keywords.js +110 -0
- package/dist/atomic/components/components/search/result-template-components/atomic-quickview-sidebar/minimize-button.js +23 -0
- package/dist/atomic/components/components/search/result-template-components/quickview-iframe/quickview-iframe.js +92 -0
- package/dist/atomic/components/components/search/result-template-components/quickview-preview-bar/quickview-preview-bar.js +51 -0
- package/dist/atomic/components/components/search/result-template-components/quickview-word-highlight/color-parser.js +37 -0
- package/dist/atomic/components/components/search/result-template-components/quickview-word-highlight/iframe-parser.js +61 -0
- package/dist/atomic/components/components/search/result-template-components/quickview-word-highlight/quickview-word-highlight.js +53 -0
- package/dist/atomic/components/components/search/result-template-components/quickview-word-highlight/text-parser.js +46 -0
- package/dist/atomic/components/decorators/binding-guard.js +2 -2
- package/dist/atomic/components/display-options.js +28 -42
- package/dist/atomic/components/display-options.js.map +1 -1
- package/dist/atomic/components/event-utils.js +1 -25
- package/dist/atomic/components/event-utils.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/initialization-utils.js +20 -2
- package/dist/atomic/components/initialization-utils.js.map +1 -1
- package/dist/atomic/components/props-utils.js +3 -32
- package/dist/atomic/components/props-utils.js.map +1 -1
- package/dist/atomic/components/replace-breakpoint-utils.js +1 -1
- package/dist/atomic/components/stencil-accessibility-utils.js +1 -1
- package/dist/atomic/components/stencil-item-decorators.js +1 -1
- package/dist/atomic/components/utils/color-utils.js +71 -0
- package/dist/atomic/components/utils/custom-element-tags.js +12 -0
- package/dist/atomic/components/utils/tailwind.global.tw.css.js +2 -2
- package/dist/atomic/components/utils.js +1 -7
- package/dist/atomic/components/utils.js.map +1 -1
- package/dist/atomic/index.esm.js +1 -1
- package/dist/atomic/index.esm.js.map +1 -1
- package/dist/atomic/p-1580513b.js +2 -0
- package/dist/atomic/p-1580513b.js.map +1 -0
- package/dist/atomic/p-1fd38149.entry.js +2 -0
- package/dist/atomic/{p-2e9191a0.entry.js.map → p-1fd38149.entry.js.map} +1 -1
- package/dist/atomic/p-20231cc9.entry.js +2 -0
- package/dist/atomic/p-20231cc9.entry.js.map +1 -0
- package/dist/atomic/p-3930eb33.js +2 -0
- package/dist/atomic/p-3930eb33.js.map +1 -0
- package/dist/atomic/p-3f48ff91.entry.js +2 -0
- package/dist/atomic/{p-09f9f4a7.entry.js.map → p-3f48ff91.entry.js.map} +1 -1
- package/dist/atomic/p-406f7e5a.js +2 -0
- package/dist/atomic/p-4a1636ae.entry.js +9 -0
- package/dist/atomic/p-4a1636ae.entry.js.map +1 -0
- package/dist/atomic/p-4a8bb5ea.entry.js +2 -0
- package/dist/atomic/p-4a8bb5ea.entry.js.map +1 -0
- package/dist/atomic/p-4c696ce2.js +2 -0
- package/dist/atomic/p-4c696ce2.js.map +1 -0
- package/dist/atomic/p-53e0a661.entry.js +2 -0
- package/dist/atomic/{p-79a06d99.entry.js.map → p-53e0a661.entry.js.map} +1 -1
- package/dist/atomic/p-5aadf2ae.entry.js +2 -0
- package/dist/atomic/{p-7031a4ad.entry.js.map → p-5aadf2ae.entry.js.map} +1 -1
- package/dist/atomic/p-5b83e1aa.entry.js +2 -0
- package/dist/atomic/{p-4009470f.entry.js.map → p-5b83e1aa.entry.js.map} +1 -1
- package/dist/atomic/p-5e83a83d.js +2 -0
- package/dist/atomic/p-608ea23b.entry.js +2 -0
- package/dist/atomic/{p-e5c9cb6f.entry.js.map → p-608ea23b.entry.js.map} +1 -1
- package/dist/atomic/{p-d8705a4b.js → p-6d9dcfb7.js} +2 -2
- package/dist/atomic/p-7c732c9b.entry.js +2 -0
- package/dist/atomic/{p-42a7430c.entry.js.map → p-7c732c9b.entry.js.map} +1 -1
- package/dist/atomic/p-7ca2dce5.entry.js +2 -0
- package/dist/atomic/p-7ca2dce5.entry.js.map +1 -0
- package/dist/atomic/p-8ab3a3e3.js +2 -0
- package/dist/atomic/{p-452813b0.js.map → p-8ab3a3e3.js.map} +1 -1
- package/dist/atomic/{p-c32ffba8.js → p-8f778162.js} +2 -2
- package/dist/atomic/{p-6b524885.js → p-8f9590f0.js} +2 -2
- package/dist/atomic/p-91a9b3f1.js +2 -0
- package/dist/atomic/p-91a9b3f1.js.map +1 -0
- package/dist/atomic/p-95ad29f3.entry.js +2 -0
- package/dist/atomic/{p-8b42c664.entry.js.map → p-95ad29f3.entry.js.map} +1 -1
- package/dist/atomic/{p-a14f40f2.js → p-9748e9a8.js} +2 -2
- package/dist/atomic/p-a9719330.entry.js +2 -0
- package/dist/atomic/p-a9719330.entry.js.map +1 -0
- package/dist/atomic/p-a97247c4.entry.js +2 -0
- package/dist/atomic/p-a97247c4.entry.js.map +1 -0
- package/dist/atomic/p-a998340c.entry.js +2 -0
- package/dist/atomic/{p-84c6c317.entry.js.map → p-a998340c.entry.js.map} +1 -1
- package/dist/atomic/p-abbf4a31.entry.js +2 -0
- package/dist/atomic/{p-2d4a855d.entry.js.map → p-abbf4a31.entry.js.map} +1 -1
- package/dist/atomic/{p-0eb714c6.js → p-ae079ccf.js} +2 -2
- package/dist/atomic/p-af37130c.entry.js +2 -0
- package/dist/atomic/{p-ef3d7069.entry.js.map → p-af37130c.entry.js.map} +1 -1
- package/dist/atomic/{p-2b2fd228.js → p-b8fb8a69.js} +2 -2
- package/dist/atomic/{p-43cbacac.js → p-d609547d.js} +2 -2
- package/dist/atomic/{p-bed4b7fe.js → p-d75a4630.js} +1 -1
- package/dist/atomic/{p-1fca38e1.js → p-dcd04374.js} +2 -2
- package/dist/atomic/p-e041c13c.entry.js +2 -0
- package/dist/atomic/{p-fd30ed04.entry.js.map → p-e041c13c.entry.js.map} +1 -1
- package/dist/atomic/p-e2720a78.entry.js +2 -0
- package/dist/atomic/{p-341cbb51.entry.js.map → p-e2720a78.entry.js.map} +1 -1
- package/dist/atomic/p-e4c2823c.entry.js +2 -0
- package/dist/atomic/{p-0313d2aa.entry.js.map → p-e4c2823c.entry.js.map} +1 -1
- package/dist/atomic/p-ec88de2b.entry.js +2 -0
- package/dist/atomic/{p-337a579e.entry.js.map → p-ec88de2b.entry.js.map} +1 -1
- package/dist/atomic/{p-f4902f66.entry.js → p-efdb5e2b.entry.js} +2 -2
- package/dist/atomic/p-f647fb7b.entry.js +2 -0
- package/dist/atomic/p-f647fb7b.entry.js.map +1 -0
- package/dist/atomic/p-f82d4e71.entry.js +2 -0
- package/dist/atomic/{p-66c0ba83.entry.js.map → p-f82d4e71.entry.js.map} +1 -1
- package/dist/atomic/p-f927a418.entry.js +2 -0
- package/dist/atomic/{p-7a15debe.entry.js.map → p-f927a418.entry.js.map} +1 -1
- package/dist/atomic/p-f9e7ea97.js +2 -0
- package/dist/atomic/p-f9e7ea97.js.map +1 -0
- package/dist/atomic/p-fa7ff7aa.entry.js +2 -0
- package/dist/atomic/{p-8bfd7567.entry.js.map → p-fa7ff7aa.entry.js.map} +1 -1
- package/dist/atomic/p-fb6a5b80.entry.js +2 -0
- package/dist/atomic/{p-de10ed2b.entry.js.map → p-fb6a5b80.entry.js.map} +1 -1
- package/dist/atomic/p-fb755797.entry.js +2 -0
- package/dist/atomic/{p-817f3432.entry.js.map → p-fb755797.entry.js.map} +1 -1
- package/dist/cjs/_index.cjs.js +29 -12
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/arrow-top-rounded-885250ea.js +10 -0
- package/dist/cjs/arrow-top-rounded-885250ea.js.map +1 -0
- package/dist/cjs/atomic-generated-answer-feedback-modal.cjs.entry.js +10 -11
- package/dist/cjs/atomic-generated-answer-feedback-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-folded-result-list.cjs.entry.js +9 -12
- package/dist/cjs/atomic-insight-folded-result-list.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-generated-answer.cjs.entry.js +20 -12
- package/dist/cjs/atomic-insight-generated-answer.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-refine-modal.cjs.entry.js +10 -11
- package/dist/cjs/atomic-insight-refine-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-action-bar.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-result-action-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-action.cjs.entry.js +8 -9
- package/dist/cjs/atomic-insight-result-action.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-attach-to-case-action.cjs.entry.js +8 -9
- package/dist/cjs/atomic-insight-result-attach-to-case-action.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-attach-to-case-indicator.cjs.entry.js +7 -8
- package/dist/cjs/atomic-insight-result-attach-to-case-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js +33 -4
- package/dist/cjs/atomic-insight-result-children-template.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-children.cjs.entry.js +8 -9
- package/dist/cjs/atomic-insight-result-children.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-list.cjs.entry.js +9 -12
- package/dist/cjs/atomic-insight-result-list.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-result-quickview-action.cjs.entry.js +11 -12
- package/dist/cjs/atomic-insight-result-quickview-action.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-smart-snippet-suggestions.cjs.entry.js +6 -7
- package/dist/cjs/atomic-insight-smart-snippet-suggestions.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-smart-snippet.cjs.entry.js +7 -8
- package/dist/cjs/atomic-insight-smart-snippet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js +489 -25
- package/dist/cjs/atomic-insight-timeframe-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-user-actions-modal.cjs.entry.js +6 -7
- package/dist/cjs/atomic-insight-user-actions-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-user-actions-session.cjs.entry.js +9 -9
- package/dist/cjs/atomic-insight-user-actions-session.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-user-actions-timeline.cjs.entry.js +5 -6
- package/dist/cjs/atomic-insight-user-actions-timeline.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-ipx-body.cjs.entry.js +8 -9
- package/dist/cjs/atomic-ipx-body.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-ipx-embedded.cjs.entry.js +7 -8
- package/dist/cjs/atomic-ipx-embedded.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-ipx-modal.cjs.entry.js +8 -9
- package/dist/cjs/atomic-ipx-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js +12 -15
- package/dist/cjs/atomic-ipx-recs-list.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js +8 -9
- package/dist/cjs/atomic-ipx-refine-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js +12 -9
- package/dist/cjs/atomic-ipx-refine-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-ipx-result-link.cjs.entry.js +59 -9
- package/dist/cjs/atomic-ipx-result-link.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-recs-list.cjs.entry.js +12 -15
- package/dist/cjs/atomic-recs-list.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-stencil-facet-date-input.cjs.entry.js +2 -2
- package/dist/cjs/atomic-suggestion-renderer.cjs.entry.js +6 -2
- package/dist/cjs/atomic-suggestion-renderer.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic.cjs.js +1 -1
- package/dist/cjs/{display-options-1df77bd7.js → display-options-d5c02917.js} +32 -46
- package/dist/cjs/display-options-d5c02917.js.map +1 -0
- package/dist/cjs/{event-utils-49230a63.js → event-utils-9bfcf3c5.js} +1 -27
- package/dist/cjs/event-utils-9bfcf3c5.js.map +1 -0
- package/dist/cjs/index-0a91838f.js +4 -52
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/{initialization-lit-stencil-common-utils-8443d821.js → initialization-lit-stencil-common-utils-4ef7bf9c.js} +24 -4
- package/dist/cjs/initialization-lit-stencil-common-utils-4ef7bf9c.js.map +1 -0
- package/dist/cjs/{initialization-utils-18fa7055.js → initialization-utils-68064e3c.js} +4 -5
- package/dist/cjs/initialization-utils-68064e3c.js.map +1 -0
- package/dist/cjs/{popover-type-8bc9854f.js → popover-type-b1385b27.js} +2 -2
- package/dist/cjs/{popover-type-8bc9854f.js.map → popover-type-b1385b27.js.map} +1 -1
- package/dist/cjs/{props-utils-63c8e1dc.js → props-utils-81f782bd.js} +3 -33
- package/dist/cjs/props-utils-81f782bd.js.map +1 -0
- package/dist/cjs/{replace-breakpoint-utils-47f2eaa4.js → replace-breakpoint-utils-c365392f.js} +3 -3
- package/dist/cjs/{replace-breakpoint-utils-47f2eaa4.js.map → replace-breakpoint-utils-c365392f.js.map} +1 -1
- package/dist/cjs/{stencil-accessibility-utils-2e57c7ca.js → stencil-accessibility-utils-8396dad2.js} +3 -3
- package/dist/cjs/{stencil-accessibility-utils-2e57c7ca.js.map → stencil-accessibility-utils-8396dad2.js.map} +1 -1
- package/dist/cjs/{stencil-button-c0586199.js → stencil-button-de162ca7.js} +2 -2
- package/dist/cjs/{stencil-button-c0586199.js.map → stencil-button-de162ca7.js.map} +1 -1
- package/dist/cjs/{stencil-carousel-01fe150d.js → stencil-carousel-587ae361.js} +2 -2
- package/dist/cjs/{stencil-carousel-01fe150d.js.map → stencil-carousel-587ae361.js.map} +1 -1
- package/dist/cjs/{stencil-iconButton-10c8c2e7.js → stencil-iconButton-3d7f4317.js} +2 -2
- package/dist/cjs/{stencil-iconButton-10c8c2e7.js.map → stencil-iconButton-3d7f4317.js.map} +1 -1
- package/dist/cjs/{stencil-item-decorators-3cfb37d5.js → stencil-item-decorators-d2daa144.js} +4 -4
- package/dist/cjs/{stencil-item-decorators-3cfb37d5.js.map → stencil-item-decorators-d2daa144.js.map} +1 -1
- package/dist/cjs/{stencil-modal-28d19d3d.js → stencil-modal-9bafc681.js} +3 -3
- package/dist/cjs/{stencil-modal-28d19d3d.js.map → stencil-modal-9bafc681.js.map} +1 -1
- package/dist/cjs/{stencil-radio-button-e48e4166.js → stencil-radio-button-3b87d6da.js} +2 -2
- package/dist/cjs/{stencil-radio-button-e48e4166.js.map → stencil-radio-button-3b87d6da.js.map} +1 -1
- package/dist/cjs/{stencil-result-template-decorators-251652cc.js → stencil-result-template-decorators-c89c2f24.js} +2 -2
- package/dist/cjs/{stencil-result-template-decorators-251652cc.js.map → stencil-result-template-decorators-c89c2f24.js.map} +1 -1
- package/dist/cjs/{utils-ea9d23f2.js → utils-b455e068.js} +1 -8
- package/dist/cjs/utils-b455e068.js.map +1 -0
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/_index.js +26 -8
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/arrow-top-rounded-745b84a6.js +7 -0
- package/dist/esm/arrow-top-rounded-745b84a6.js.map +1 -0
- package/dist/esm/atomic-generated-answer-feedback-modal.entry.js +10 -11
- package/dist/esm/atomic-generated-answer-feedback-modal.entry.js.map +1 -1
- package/dist/esm/atomic-insight-folded-result-list.entry.js +9 -12
- package/dist/esm/atomic-insight-folded-result-list.entry.js.map +1 -1
- package/dist/esm/atomic-insight-generated-answer.entry.js +19 -11
- package/dist/esm/atomic-insight-generated-answer.entry.js.map +1 -1
- package/dist/esm/atomic-insight-refine-modal.entry.js +9 -10
- package/dist/esm/atomic-insight-refine-modal.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-action-bar.entry.js +2 -2
- package/dist/esm/atomic-insight-result-action-bar.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-action.entry.js +8 -9
- package/dist/esm/atomic-insight-result-action.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-attach-to-case-action.entry.js +8 -9
- package/dist/esm/atomic-insight-result-attach-to-case-action.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-attach-to-case-indicator.entry.js +7 -8
- package/dist/esm/atomic-insight-result-attach-to-case-indicator.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-children-template.entry.js +32 -3
- package/dist/esm/atomic-insight-result-children-template.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-children.entry.js +8 -9
- package/dist/esm/atomic-insight-result-children.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-list.entry.js +9 -12
- package/dist/esm/atomic-insight-result-list.entry.js.map +1 -1
- package/dist/esm/atomic-insight-result-quickview-action.entry.js +11 -12
- package/dist/esm/atomic-insight-result-quickview-action.entry.js.map +1 -1
- package/dist/esm/atomic-insight-smart-snippet-suggestions.entry.js +6 -7
- package/dist/esm/atomic-insight-smart-snippet-suggestions.entry.js.map +1 -1
- package/dist/esm/atomic-insight-smart-snippet.entry.js +7 -8
- package/dist/esm/atomic-insight-smart-snippet.entry.js.map +1 -1
- package/dist/esm/atomic-insight-timeframe-facet.entry.js +487 -23
- package/dist/esm/atomic-insight-timeframe-facet.entry.js.map +1 -1
- package/dist/esm/atomic-insight-user-actions-modal.entry.js +5 -6
- package/dist/esm/atomic-insight-user-actions-modal.entry.js.map +1 -1
- package/dist/esm/atomic-insight-user-actions-session.entry.js +8 -8
- package/dist/esm/atomic-insight-user-actions-session.entry.js.map +1 -1
- package/dist/esm/atomic-insight-user-actions-timeline.entry.js +5 -6
- package/dist/esm/atomic-insight-user-actions-timeline.entry.js.map +1 -1
- package/dist/esm/atomic-ipx-body.entry.js +8 -9
- package/dist/esm/atomic-ipx-body.entry.js.map +1 -1
- package/dist/esm/atomic-ipx-embedded.entry.js +7 -8
- package/dist/esm/atomic-ipx-embedded.entry.js.map +1 -1
- package/dist/esm/atomic-ipx-modal.entry.js +8 -9
- package/dist/esm/atomic-ipx-modal.entry.js.map +1 -1
- package/dist/esm/atomic-ipx-recs-list.entry.js +11 -14
- package/dist/esm/atomic-ipx-recs-list.entry.js.map +1 -1
- package/dist/esm/atomic-ipx-refine-modal.entry.js +8 -9
- package/dist/esm/atomic-ipx-refine-modal.entry.js.map +1 -1
- package/dist/esm/atomic-ipx-refine-toggle.entry.js +12 -9
- package/dist/esm/atomic-ipx-refine-toggle.entry.js.map +1 -1
- package/dist/esm/atomic-ipx-result-link.entry.js +60 -10
- package/dist/esm/atomic-ipx-result-link.entry.js.map +1 -1
- package/dist/esm/atomic-recs-list.entry.js +11 -14
- package/dist/esm/atomic-recs-list.entry.js.map +1 -1
- package/dist/esm/atomic-stencil-facet-date-input.entry.js +2 -2
- package/dist/esm/atomic-suggestion-renderer.entry.js +5 -1
- package/dist/esm/atomic-suggestion-renderer.entry.js.map +1 -1
- package/dist/esm/atomic.js +1 -1
- package/dist/esm/{display-options-76ae4a7b.js → display-options-60387cd9.js} +31 -45
- package/dist/esm/display-options-60387cd9.js.map +1 -0
- package/dist/esm/{event-utils-40fded47.js → event-utils-8de63ec3.js} +2 -26
- package/dist/esm/event-utils-8de63ec3.js.map +1 -0
- package/dist/esm/index-d03d85cb.js +4 -52
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{initialization-lit-stencil-common-utils-1ee26198.js → initialization-lit-stencil-common-utils-097c357b.js} +22 -4
- package/dist/esm/initialization-lit-stencil-common-utils-097c357b.js.map +1 -0
- package/dist/esm/{initialization-utils-264915a2.js → initialization-utils-ed3a5274.js} +3 -4
- package/dist/esm/initialization-utils-ed3a5274.js.map +1 -0
- package/dist/esm/{popover-type-dff88f57.js → popover-type-895c0e24.js} +2 -2
- package/dist/esm/{popover-type-dff88f57.js.map → popover-type-895c0e24.js.map} +1 -1
- package/dist/esm/{props-utils-bddde105.js → props-utils-d064c27d.js} +4 -33
- package/dist/esm/props-utils-d064c27d.js.map +1 -0
- package/dist/esm/{replace-breakpoint-utils-13ff9ca5.js → replace-breakpoint-utils-2626a500.js} +2 -2
- package/dist/esm/{replace-breakpoint-utils-13ff9ca5.js.map → replace-breakpoint-utils-2626a500.js.map} +1 -1
- package/dist/esm/{stencil-accessibility-utils-97f2cc29.js → stencil-accessibility-utils-a11075f9.js} +3 -3
- package/dist/esm/{stencil-accessibility-utils-97f2cc29.js.map → stencil-accessibility-utils-a11075f9.js.map} +1 -1
- package/dist/esm/{stencil-button-052bf55b.js → stencil-button-8276f33f.js} +2 -2
- package/dist/esm/{stencil-button-052bf55b.js.map → stencil-button-8276f33f.js.map} +1 -1
- package/dist/esm/{stencil-carousel-15d48c0d.js → stencil-carousel-1f4e780c.js} +2 -2
- package/dist/esm/{stencil-carousel-15d48c0d.js.map → stencil-carousel-1f4e780c.js.map} +1 -1
- package/dist/esm/{stencil-iconButton-9e9e6576.js → stencil-iconButton-95ce8b69.js} +2 -2
- package/dist/esm/{stencil-iconButton-9e9e6576.js.map → stencil-iconButton-95ce8b69.js.map} +1 -1
- package/dist/esm/{stencil-item-decorators-9a4086d6.js → stencil-item-decorators-97a4c6a1.js} +3 -3
- package/dist/esm/{stencil-item-decorators-9a4086d6.js.map → stencil-item-decorators-97a4c6a1.js.map} +1 -1
- package/dist/esm/{stencil-modal-d506778a.js → stencil-modal-da3e4eaa.js} +3 -3
- package/dist/esm/{stencil-modal-d506778a.js.map → stencil-modal-da3e4eaa.js.map} +1 -1
- package/dist/esm/{stencil-radio-button-52c4b049.js → stencil-radio-button-360a55b4.js} +2 -2
- package/dist/esm/{stencil-radio-button-52c4b049.js.map → stencil-radio-button-360a55b4.js.map} +1 -1
- package/dist/esm/{stencil-result-template-decorators-5e987020.js → stencil-result-template-decorators-c244d674.js} +2 -2
- package/dist/esm/{stencil-result-template-decorators-5e987020.js.map → stencil-result-template-decorators-c244d674.js.map} +1 -1
- package/dist/esm/{utils-50226fe0.js → utils-58ed73e4.js} +2 -8
- package/dist/esm/utils-58ed73e4.js.map +1 -0
- package/dist/esm/version.js +2 -2
- package/dist/types/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.d.ts +2 -2
- package/dist/types/components/commerce/atomic-commerce-category-facet/atomic-commerce-category-facet.d.ts +2 -2
- package/dist/types/components/commerce/atomic-commerce-product-list/atomic-commerce-product-list.d.ts +2 -2
- package/dist/types/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.d.ts +1 -1
- package/dist/types/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.d.ts +1 -1
- package/dist/types/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.d.ts +1 -1
- package/dist/types/components/commerce/atomic-product-children/atomic-product-children.d.ts +2 -2
- package/dist/types/components/commerce/atomic-product-description/atomic-product-description.d.ts +2 -2
- package/dist/types/components/commerce/atomic-product-excerpt/atomic-product-excerpt.d.ts +2 -2
- package/dist/types/components/commerce/atomic-product-image/atomic-product-image.d.ts +2 -2
- package/dist/types/components/commerce/atomic-product-link/atomic-product-link.tw.css.d.ts +2 -0
- package/dist/types/components/commerce/atomic-product-multi-value-text/atomic-product-multi-value-text.d.ts +3 -3
- package/dist/types/components/commerce/atomic-product-template/atomic-product-template.d.ts +1 -1
- package/dist/types/components/commerce/product-template-component-utils/context/stencil-product-template-decorators.d.ts +1 -1
- package/dist/types/components/common/{generated-answer/atomic-citation → atomic-citation}/atomic-citation.d.ts +23 -7
- package/dist/types/components/common/atomic-citation/atomic-citation.tw.css.d.ts +2 -0
- package/dist/types/components/common/atomic-layout-section/atomic-layout-section.d.ts +2 -2
- package/dist/types/components/common/atomic-modal/atomic-modal.d.ts +1 -1
- package/dist/types/components/common/atomic-tab-popover/atomic-tab-popover.d.ts +1 -1
- package/dist/types/components/common/facets/timeframe-facet-common.d.ts +1 -0
- package/dist/types/components/common/generated-answer/render-answer-content.d.ts +2 -0
- package/dist/types/components/common/generated-answer/render-citations.d.ts +1 -0
- package/dist/types/components/common/generated-answer/render-feedback-and-copy-buttons.d.ts +0 -1
- package/dist/types/components/common/index.d.ts +1 -0
- package/dist/types/components/common/item-link/item-link.d.ts +2 -1
- package/dist/types/components/common/item-list/display-wrapper.d.ts +1 -1
- package/dist/types/components/common/layout/item-layout-controller.d.ts +6 -0
- package/dist/types/components/common/sort/sort-guard.d.ts +1 -1
- package/dist/types/components/common/suggestions/query-suggestions.d.ts +6 -1
- package/dist/types/components/common/validate-props-controller/validate-props-controller.d.ts +2 -1
- package/dist/types/components/insight/atomic-insight-facet/atomic-insight-facet.d.ts +52 -30
- package/dist/types/components/insight/atomic-insight-history-toggle/atomic-insight-history-toggle.d.ts +19 -2
- package/dist/types/components/insight/atomic-insight-numeric-facet/atomic-insight-numeric-facet.d.ts +84 -41
- package/dist/types/components/insight/atomic-insight-refine-toggle/atomic-insight-refine-toggle.d.ts +24 -10
- package/dist/types/components/insight/atomic-insight-result/atomic-insight-result.d.ts +44 -18
- package/dist/types/components/insight/atomic-insight-result-template/atomic-insight-result-template.d.ts +2 -1
- package/dist/types/components/insight/atomic-insight-search-box/atomic-insight-search-box.d.ts +31 -12
- package/dist/types/components/insight/atomic-insight-search-box/atomic-insight-search-box.tw.css.d.ts +2 -0
- package/dist/types/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.d.ts +58 -0
- package/dist/types/components/insight/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.tw.css.d.ts +2 -0
- package/dist/types/components/insight/atomic-insight-timeframe-facet/atomic-insight-timeframe-facet.d.ts +1 -1
- package/dist/types/components/insight/index.d.ts +7 -0
- package/dist/types/components/ipx/atomic-ipx-button/atomic-ipx-button.d.ts +25 -8
- package/dist/types/components/ipx/index.d.ts +1 -0
- package/dist/types/components/recommendations/atomic-recs-result/atomic-recs-result.d.ts +44 -33
- package/dist/types/components/recommendations/atomic-recs-result-template/atomic-recs-result-template.d.ts +2 -1
- package/dist/types/components/recommendations/index.d.ts +1 -0
- package/dist/types/components/search/atomic-automatic-facet/atomic-automatic-facet.d.ts +2 -2
- package/dist/types/components/search/atomic-automatic-facet-generator/atomic-automatic-facet-generator.d.ts +2 -2
- package/dist/types/components/search/atomic-breadbox/atomic-breadbox.d.ts +2 -2
- package/dist/types/components/search/atomic-category-facet/atomic-category-facet.d.ts +2 -2
- package/dist/types/components/search/atomic-field-condition/atomic-field-condition.d.ts +4 -4
- package/dist/types/components/search/atomic-format-currency/atomic-format-currency.d.ts +1 -1
- package/dist/types/components/search/atomic-format-number/atomic-format-number.d.ts +1 -1
- package/dist/types/components/search/atomic-format-unit/atomic-format-unit.d.ts +1 -1
- package/dist/types/components/search/atomic-generated-answer/atomic-generated-answer.d.ts +3 -2
- package/dist/types/components/search/atomic-notifications/atomic-notifications.d.ts +2 -2
- package/dist/types/components/search/atomic-quickview-modal/atomic-quickview-modal.d.ts +92 -0
- package/dist/types/components/search/atomic-quickview-modal/highlight-keywords.d.ts +9 -0
- package/dist/types/components/search/atomic-rating-facet/atomic-rating-facet.d.ts +2 -2
- package/dist/types/components/search/atomic-result-children-template/atomic-result-children-template.d.ts +1 -1
- package/dist/types/components/search/atomic-result-icon/atomic-result-icon.d.ts +2 -2
- package/dist/types/components/search/atomic-result-link/atomic-result-link.tw.css.d.ts +2 -0
- package/dist/types/components/search/atomic-result-multi-value-text/atomic-result-multi-value-text.d.ts +1 -1
- package/dist/types/components/search/atomic-result-section-bottom-metadata/atomic-result-section-bottom-metadata.d.ts +1 -1
- package/dist/types/components/search/atomic-result-template/atomic-result-template.d.ts +1 -1
- package/dist/types/components/search/atomic-search-box-instant-results/atomic-search-box-instant-results.d.ts +1 -1
- package/dist/types/components/search/atomic-search-box-query-suggestions/atomic-search-box-query-suggestions.d.ts +1 -1
- package/dist/types/components/search/atomic-search-box-recent-queries/atomic-search-box-recent-queries.d.ts +1 -1
- package/dist/types/components/search/atomic-segmented-facet-scrollable/atomic-segmented-facet-scrollable.d.ts +3 -3
- package/dist/types/components/search/atomic-smart-snippet-suggestions/atomic-smart-snippet-suggestions.d.ts +2 -1
- package/dist/types/components/search/atomic-sort-dropdown/atomic-sort-dropdown.d.ts +3 -1
- package/dist/types/components/search/atomic-tab-manager/atomic-tab-manager.d.ts +1 -1
- package/dist/types/components/search/{facets/atomic-timeframe-facet → atomic-timeframe-facet}/atomic-timeframe-facet.d.ts +37 -40
- package/dist/types/components/search/index.d.ts +2 -0
- package/dist/types/components/search/result-template-components/atomic-quickview-sidebar/atomic-quickview-sidebar.d.ts +1 -1
- package/dist/types/components/search/result-template-components/atomic-quickview-sidebar/highlight-keywords-checkbox.d.ts +1 -1
- package/dist/types/components/search/result-template-components/atomic-quickview-sidebar/keywords.d.ts +1 -1
- package/dist/types/components/search/result-template-components/atomic-quickview-sidebar/minimize-button.d.ts +1 -1
- package/dist/types/components/search/result-template-components/quickview-preview-bar/quickview-preview-bar.d.ts +2 -2
- package/dist/types/components.d.ts +8 -821
- package/dist/types/decorators/types.d.ts +3 -3
- package/docs/atomic-docs.json +212 -1553
- package/package.json +5 -4
- package/dist/atomic/components/atomic-citation.d.ts +0 -11
- package/dist/atomic/components/atomic-citation.js +0 -1958
- package/dist/atomic/components/atomic-citation.js.map +0 -1
- package/dist/atomic/components/atomic-insight-facet.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-facet.js +0 -374
- package/dist/atomic/components/atomic-insight-facet.js.map +0 -1
- package/dist/atomic/components/atomic-insight-history-toggle.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-history-toggle.js +0 -46
- package/dist/atomic/components/atomic-insight-history-toggle.js.map +0 -1
- package/dist/atomic/components/atomic-insight-numeric-facet.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-numeric-facet.js +0 -427
- package/dist/atomic/components/atomic-insight-numeric-facet.js.map +0 -1
- package/dist/atomic/components/atomic-insight-refine-modal2.js +0 -125
- package/dist/atomic/components/atomic-insight-refine-modal2.js.map +0 -1
- package/dist/atomic/components/atomic-insight-refine-toggle.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-refine-toggle.js +0 -107
- package/dist/atomic/components/atomic-insight-refine-toggle.js.map +0 -1
- package/dist/atomic/components/atomic-insight-result.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-result.js +0 -8
- package/dist/atomic/components/atomic-insight-result.js.map +0 -1
- package/dist/atomic/components/atomic-insight-result2.js +0 -107
- package/dist/atomic/components/atomic-insight-result2.js.map +0 -1
- package/dist/atomic/components/atomic-insight-search-box.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-search-box.js +0 -724
- package/dist/atomic/components/atomic-insight-search-box.js.map +0 -1
- package/dist/atomic/components/atomic-insight-smart-snippet-feedback-modal.d.ts +0 -11
- package/dist/atomic/components/atomic-insight-smart-snippet-feedback-modal.js +0 -8
- package/dist/atomic/components/atomic-insight-smart-snippet-feedback-modal.js.map +0 -1
- package/dist/atomic/components/atomic-insight-smart-snippet-feedback-modal2.js +0 -170
- package/dist/atomic/components/atomic-insight-smart-snippet-feedback-modal2.js.map +0 -1
- package/dist/atomic/components/atomic-ipx-button.d.ts +0 -11
- package/dist/atomic/components/atomic-ipx-button.js +0 -168
- package/dist/atomic/components/atomic-ipx-button.js.map +0 -1
- package/dist/atomic/components/atomic-quickview-modal.d.ts +0 -11
- package/dist/atomic/components/atomic-quickview-modal.js +0 -8
- package/dist/atomic/components/atomic-quickview-modal.js.map +0 -1
- package/dist/atomic/components/atomic-quickview-modal2.js +0 -704
- package/dist/atomic/components/atomic-quickview-modal2.js.map +0 -1
- package/dist/atomic/components/atomic-recs-result.d.ts +0 -11
- package/dist/atomic/components/atomic-recs-result.js +0 -8
- package/dist/atomic/components/atomic-recs-result.js.map +0 -1
- package/dist/atomic/components/atomic-recs-result2.js +0 -155
- package/dist/atomic/components/atomic-recs-result2.js.map +0 -1
- package/dist/atomic/components/atomic-suggestion-renderer2.js +0 -123
- package/dist/atomic/components/atomic-suggestion-renderer2.js.map +0 -1
- package/dist/atomic/components/atomic-timeframe-facet.d.ts +0 -11
- package/dist/atomic/components/atomic-timeframe-facet.js +0 -303
- package/dist/atomic/components/atomic-timeframe-facet.js.map +0 -1
- package/dist/atomic/components/debounce-utils.js +0 -13
- package/dist/atomic/components/debounce-utils.js.map +0 -1
- package/dist/atomic/components/dom-utils.js +0 -27
- package/dist/atomic/components/dom-utils.js.map +0 -1
- package/dist/atomic/components/filter.js +0 -8
- package/dist/atomic/components/filter.js.map +0 -1
- package/dist/atomic/components/item-layout-sections.js +0 -41
- package/dist/atomic/components/item-layout-sections.js.map +0 -1
- package/dist/atomic/components/search.js +0 -5
- package/dist/atomic/components/search.js.map +0 -1
- package/dist/atomic/components/stencil-checkbox.js +0 -42
- package/dist/atomic/components/stencil-checkbox.js.map +0 -1
- package/dist/atomic/components/stencil-display-wrapper.js +0 -29
- package/dist/atomic/components/stencil-display-wrapper.js.map +0 -1
- package/dist/atomic/components/stencil-facet-common.js +0 -21
- package/dist/atomic/components/stencil-facet-common.js.map +0 -1
- package/dist/atomic/components/stencil-facet-value-checkbox.js +0 -118
- package/dist/atomic/components/stencil-facet-value-checkbox.js.map +0 -1
- package/dist/atomic/components/stencil-facet-values-group.js +0 -275
- package/dist/atomic/components/stencil-facet-values-group.js.map +0 -1
- package/dist/atomic/components/stencil-item-link.js +0 -57
- package/dist/atomic/components/stencil-item-link.js.map +0 -1
- package/dist/atomic/components/stencil-timeframe-facet-common.js +0 -208
- package/dist/atomic/components/stencil-timeframe-facet-common.js.map +0 -1
- package/dist/atomic/components/string-utils.js +0 -13
- package/dist/atomic/components/string-utils.js.map +0 -1
- package/dist/atomic/p-004c7869.entry.js +0 -2
- package/dist/atomic/p-004c7869.entry.js.map +0 -1
- package/dist/atomic/p-00b326bb.js +0 -2
- package/dist/atomic/p-01c91b69.js +0 -2
- package/dist/atomic/p-01c91b69.js.map +0 -1
- package/dist/atomic/p-0263f784.entry.js +0 -2
- package/dist/atomic/p-0263f784.entry.js.map +0 -1
- package/dist/atomic/p-0313d2aa.entry.js +0 -2
- package/dist/atomic/p-09f9f4a7.entry.js +0 -2
- package/dist/atomic/p-0a051b8d.js +0 -2
- package/dist/atomic/p-0a051b8d.js.map +0 -1
- package/dist/atomic/p-12ef929d.entry.js +0 -2
- package/dist/atomic/p-12ef929d.entry.js.map +0 -1
- package/dist/atomic/p-1648b38d.js +0 -2
- package/dist/atomic/p-1648b38d.js.map +0 -1
- package/dist/atomic/p-1ab44292.js +0 -2
- package/dist/atomic/p-1ab44292.js.map +0 -1
- package/dist/atomic/p-25e57bd6.entry.js +0 -2
- package/dist/atomic/p-25e57bd6.entry.js.map +0 -1
- package/dist/atomic/p-2a60a64b.js +0 -2
- package/dist/atomic/p-2a60a64b.js.map +0 -1
- package/dist/atomic/p-2d4a855d.entry.js +0 -2
- package/dist/atomic/p-2e9191a0.entry.js +0 -2
- package/dist/atomic/p-2eb1f9b6.entry.js +0 -2
- package/dist/atomic/p-2eb1f9b6.entry.js.map +0 -1
- package/dist/atomic/p-337a579e.entry.js +0 -2
- package/dist/atomic/p-341cbb51.entry.js +0 -2
- package/dist/atomic/p-3443303e.js +0 -2
- package/dist/atomic/p-4009470f.entry.js +0 -2
- package/dist/atomic/p-42a7430c.entry.js +0 -2
- package/dist/atomic/p-452813b0.js +0 -2
- package/dist/atomic/p-47053bf3.entry.js +0 -2
- package/dist/atomic/p-47053bf3.entry.js.map +0 -1
- package/dist/atomic/p-4f7577cb.entry.js +0 -2
- package/dist/atomic/p-4f7577cb.entry.js.map +0 -1
- package/dist/atomic/p-4fa81f5f.js +0 -2
- package/dist/atomic/p-4fa81f5f.js.map +0 -1
- package/dist/atomic/p-512d2286.entry.js +0 -2
- package/dist/atomic/p-512d2286.entry.js.map +0 -1
- package/dist/atomic/p-5b3e31e7.entry.js +0 -2
- package/dist/atomic/p-5b3e31e7.entry.js.map +0 -1
- package/dist/atomic/p-6292386d.js +0 -2
- package/dist/atomic/p-6292386d.js.map +0 -1
- package/dist/atomic/p-63e4559e.entry.js +0 -2
- package/dist/atomic/p-63e4559e.entry.js.map +0 -1
- package/dist/atomic/p-66c0ba83.entry.js +0 -2
- package/dist/atomic/p-67ee257c.entry.js +0 -2
- package/dist/atomic/p-67ee257c.entry.js.map +0 -1
- package/dist/atomic/p-6b3dab6d.js +0 -2
- package/dist/atomic/p-6b3dab6d.js.map +0 -1
- package/dist/atomic/p-7031a4ad.entry.js +0 -2
- package/dist/atomic/p-79a06d99.entry.js +0 -2
- package/dist/atomic/p-7a15debe.entry.js +0 -2
- package/dist/atomic/p-7bc209e6.js +0 -9
- package/dist/atomic/p-7bc209e6.js.map +0 -1
- package/dist/atomic/p-817f3432.entry.js +0 -2
- package/dist/atomic/p-84c6c317.entry.js +0 -2
- package/dist/atomic/p-8954a4d7.js +0 -2
- package/dist/atomic/p-8954a4d7.js.map +0 -1
- package/dist/atomic/p-8b42c664.entry.js +0 -2
- package/dist/atomic/p-8bfd7567.entry.js +0 -2
- package/dist/atomic/p-8f5830b4.js +0 -2
- package/dist/atomic/p-8f5830b4.js.map +0 -1
- package/dist/atomic/p-98cbe076.js +0 -2
- package/dist/atomic/p-98cbe076.js.map +0 -1
- package/dist/atomic/p-b0a8207b.js +0 -2
- package/dist/atomic/p-b0a8207b.js.map +0 -1
- package/dist/atomic/p-c4663e77.entry.js +0 -2
- package/dist/atomic/p-c4663e77.entry.js.map +0 -1
- package/dist/atomic/p-c9074946.js +0 -2
- package/dist/atomic/p-c9074946.js.map +0 -1
- package/dist/atomic/p-cd493a84.entry.js +0 -2
- package/dist/atomic/p-cd493a84.entry.js.map +0 -1
- package/dist/atomic/p-cd9adfcb.entry.js +0 -2
- package/dist/atomic/p-cd9adfcb.entry.js.map +0 -1
- package/dist/atomic/p-cfb3c589.js +0 -2
- package/dist/atomic/p-cfb3c589.js.map +0 -1
- package/dist/atomic/p-d2e34a09.js +0 -2
- package/dist/atomic/p-d2e34a09.js.map +0 -1
- package/dist/atomic/p-d44ae182.entry.js +0 -2
- package/dist/atomic/p-d44ae182.entry.js.map +0 -1
- package/dist/atomic/p-dab69c52.entry.js +0 -2
- package/dist/atomic/p-dab69c52.entry.js.map +0 -1
- package/dist/atomic/p-de10ed2b.entry.js +0 -2
- package/dist/atomic/p-de3c9046.js +0 -2
- package/dist/atomic/p-de3c9046.js.map +0 -1
- package/dist/atomic/p-e5c9cb6f.entry.js +0 -2
- package/dist/atomic/p-ec23c480.entry.js +0 -2
- package/dist/atomic/p-ec23c480.entry.js.map +0 -1
- package/dist/atomic/p-ef3d7069.entry.js +0 -2
- package/dist/atomic/p-f10fec3f.js +0 -2
- package/dist/atomic/p-f10fec3f.js.map +0 -1
- package/dist/atomic/p-f1e02fa6.entry.js +0 -2
- package/dist/atomic/p-f1e02fa6.entry.js.map +0 -1
- package/dist/atomic/p-f48f321f.entry.js +0 -2
- package/dist/atomic/p-f48f321f.entry.js.map +0 -1
- package/dist/atomic/p-f5efc3e6.js +0 -2
- package/dist/atomic/p-f5efc3e6.js.map +0 -1
- package/dist/atomic/p-f995ac6a.js +0 -2
- package/dist/atomic/p-f995ac6a.js.map +0 -1
- package/dist/atomic/p-fd30ed04.entry.js +0 -2
- package/dist/cjs/arrow-top-rounded-74372173.js +0 -10
- package/dist/cjs/arrow-top-rounded-74372173.js.map +0 -1
- package/dist/cjs/atomic-citation.cjs.entry.js +0 -1936
- package/dist/cjs/atomic-citation.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-facet.cjs.entry.js +0 -356
- package/dist/cjs/atomic-insight-facet.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js +0 -31
- package/dist/cjs/atomic-insight-history-toggle.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js +0 -406
- package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-refine-toggle.cjs.entry.js +0 -87
- package/dist/cjs/atomic-insight-refine-toggle.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-result.cjs.entry.js +0 -94
- package/dist/cjs/atomic-insight-result.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-search-box.cjs.entry.js +0 -684
- package/dist/cjs/atomic-insight-search-box.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-insight-smart-snippet-feedback-modal.cjs.entry.js +0 -157
- package/dist/cjs/atomic-insight-smart-snippet-feedback-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-ipx-button.cjs.entry.js +0 -151
- package/dist/cjs/atomic-ipx-button.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js +0 -681
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-recs-result.cjs.entry.js +0 -138
- package/dist/cjs/atomic-recs-result.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-timeframe-facet.cjs.entry.js +0 -284
- package/dist/cjs/atomic-timeframe-facet.cjs.entry.js.map +0 -1
- package/dist/cjs/debounce-utils-d26bcad4.js +0 -15
- package/dist/cjs/debounce-utils-d26bcad4.js.map +0 -1
- package/dist/cjs/device-utils-b9b45662.js +0 -14
- package/dist/cjs/device-utils-b9b45662.js.map +0 -1
- package/dist/cjs/display-options-1df77bd7.js.map +0 -1
- package/dist/cjs/dom-utils-d4790328.js +0 -31
- package/dist/cjs/dom-utils-d4790328.js.map +0 -1
- package/dist/cjs/event-utils-49230a63.js.map +0 -1
- package/dist/cjs/filter-52d344d2.js +0 -10
- package/dist/cjs/filter-52d344d2.js.map +0 -1
- package/dist/cjs/initialization-lit-stencil-common-utils-8443d821.js.map +0 -1
- package/dist/cjs/initialization-utils-18fa7055.js.map +0 -1
- package/dist/cjs/item-layout-sections-4d2fca2a.js +0 -44
- package/dist/cjs/item-layout-sections-4d2fca2a.js.map +0 -1
- package/dist/cjs/props-utils-63c8e1dc.js.map +0 -1
- package/dist/cjs/search-a4774f02.js +0 -7
- package/dist/cjs/search-a4774f02.js.map +0 -1
- package/dist/cjs/stencil-checkbox-193c71a3.js +0 -45
- package/dist/cjs/stencil-checkbox-193c71a3.js.map +0 -1
- package/dist/cjs/stencil-display-wrapper-b92b15b8.js +0 -32
- package/dist/cjs/stencil-display-wrapper-b92b15b8.js.map +0 -1
- package/dist/cjs/stencil-facet-common-f66f544b.js +0 -23
- package/dist/cjs/stencil-facet-common-f66f544b.js.map +0 -1
- package/dist/cjs/stencil-facet-value-checkbox-bc37b35c.js +0 -121
- package/dist/cjs/stencil-facet-value-checkbox-bc37b35c.js.map +0 -1
- package/dist/cjs/stencil-facet-values-group-afaa9362.js +0 -285
- package/dist/cjs/stencil-facet-values-group-afaa9362.js.map +0 -1
- package/dist/cjs/stencil-item-link-b6da6d95.js +0 -59
- package/dist/cjs/stencil-item-link-b6da6d95.js.map +0 -1
- package/dist/cjs/stencil-timeframe-facet-common-240ee0a9.js +0 -210
- package/dist/cjs/stencil-timeframe-facet-common-240ee0a9.js.map +0 -1
- package/dist/cjs/string-utils-bdf08f8c.js +0 -16
- package/dist/cjs/string-utils-bdf08f8c.js.map +0 -1
- package/dist/cjs/suggestions-utils-61000808.js +0 -25
- package/dist/cjs/suggestions-utils-61000808.js.map +0 -1
- package/dist/cjs/utils-ea9d23f2.js.map +0 -1
- package/dist/esm/arrow-top-rounded-ca47258b.js +0 -7
- package/dist/esm/arrow-top-rounded-ca47258b.js.map +0 -1
- package/dist/esm/atomic-citation.entry.js +0 -1932
- package/dist/esm/atomic-citation.entry.js.map +0 -1
- package/dist/esm/atomic-insight-facet.entry.js +0 -352
- package/dist/esm/atomic-insight-facet.entry.js.map +0 -1
- package/dist/esm/atomic-insight-history-toggle.entry.js +0 -27
- package/dist/esm/atomic-insight-history-toggle.entry.js.map +0 -1
- package/dist/esm/atomic-insight-numeric-facet.entry.js +0 -402
- package/dist/esm/atomic-insight-numeric-facet.entry.js.map +0 -1
- package/dist/esm/atomic-insight-refine-toggle.entry.js +0 -83
- package/dist/esm/atomic-insight-refine-toggle.entry.js.map +0 -1
- package/dist/esm/atomic-insight-result.entry.js +0 -90
- package/dist/esm/atomic-insight-result.entry.js.map +0 -1
- package/dist/esm/atomic-insight-search-box.entry.js +0 -680
- package/dist/esm/atomic-insight-search-box.entry.js.map +0 -1
- package/dist/esm/atomic-insight-smart-snippet-feedback-modal.entry.js +0 -153
- package/dist/esm/atomic-insight-smart-snippet-feedback-modal.entry.js.map +0 -1
- package/dist/esm/atomic-ipx-button.entry.js +0 -147
- package/dist/esm/atomic-ipx-button.entry.js.map +0 -1
- package/dist/esm/atomic-quickview-modal.entry.js +0 -677
- package/dist/esm/atomic-quickview-modal.entry.js.map +0 -1
- package/dist/esm/atomic-recs-result.entry.js +0 -134
- package/dist/esm/atomic-recs-result.entry.js.map +0 -1
- package/dist/esm/atomic-timeframe-facet.entry.js +0 -280
- package/dist/esm/atomic-timeframe-facet.entry.js.map +0 -1
- package/dist/esm/debounce-utils-8619dece.js +0 -13
- package/dist/esm/debounce-utils-8619dece.js.map +0 -1
- package/dist/esm/device-utils-58c97096.js +0 -11
- package/dist/esm/device-utils-58c97096.js.map +0 -1
- package/dist/esm/display-options-76ae4a7b.js.map +0 -1
- package/dist/esm/dom-utils-f6086cd3.js +0 -27
- package/dist/esm/dom-utils-f6086cd3.js.map +0 -1
- package/dist/esm/event-utils-40fded47.js.map +0 -1
- package/dist/esm/filter-582b47e0.js +0 -8
- package/dist/esm/filter-582b47e0.js.map +0 -1
- package/dist/esm/initialization-lit-stencil-common-utils-1ee26198.js.map +0 -1
- package/dist/esm/initialization-utils-264915a2.js.map +0 -1
- package/dist/esm/item-layout-sections-e01eb1eb.js +0 -41
- package/dist/esm/item-layout-sections-e01eb1eb.js.map +0 -1
- package/dist/esm/props-utils-bddde105.js.map +0 -1
- package/dist/esm/search-64cc84a9.js +0 -5
- package/dist/esm/search-64cc84a9.js.map +0 -1
- package/dist/esm/stencil-checkbox-3e2446b1.js +0 -42
- package/dist/esm/stencil-checkbox-3e2446b1.js.map +0 -1
- package/dist/esm/stencil-display-wrapper-bea96f22.js +0 -29
- package/dist/esm/stencil-display-wrapper-bea96f22.js.map +0 -1
- package/dist/esm/stencil-facet-common-2307170d.js +0 -21
- package/dist/esm/stencil-facet-common-2307170d.js.map +0 -1
- package/dist/esm/stencil-facet-value-checkbox-f4b4b157.js +0 -118
- package/dist/esm/stencil-facet-value-checkbox-f4b4b157.js.map +0 -1
- package/dist/esm/stencil-facet-values-group-9add8d35.js +0 -275
- package/dist/esm/stencil-facet-values-group-9add8d35.js.map +0 -1
- package/dist/esm/stencil-item-link-ed8e6b0f.js +0 -57
- package/dist/esm/stencil-item-link-ed8e6b0f.js.map +0 -1
- package/dist/esm/stencil-timeframe-facet-common-db88e6b0.js +0 -208
- package/dist/esm/stencil-timeframe-facet-common-db88e6b0.js.map +0 -1
- package/dist/esm/string-utils-5f5a23a8.js +0 -13
- package/dist/esm/string-utils-5f5a23a8.js.map +0 -1
- package/dist/esm/suggestions-utils-591559a0.js +0 -22
- package/dist/esm/suggestions-utils-591559a0.js.map +0 -1
- package/dist/esm/utils-50226fe0.js.map +0 -1
- package/dist/types/components/insight/smart-snippets/atomic-insight-smart-snippet-feedback-modal/atomic-insight-smart-snippet-feedback-modal.d.ts +0 -24
- package/dist/types/components/search/result-template-components/atomic-quickview-modal/atomic-quickview-modal.d.ts +0 -68
- package/dist/types/components/search/result-template-components/atomic-quickview-sidebar/stencil-atomic-quickview-sidebar.d.ts +0 -17
- package/dist/types/components/search/result-template-components/atomic-quickview-sidebar/stencil-highlight-keywords-checkbox.d.ts +0 -12
- package/dist/types/components/search/result-template-components/atomic-quickview-sidebar/stencil-keywords.d.ts +0 -14
- package/dist/types/components/search/result-template-components/atomic-quickview-sidebar/stencil-minimize-button.d.ts +0 -13
- /package/dist/atomic/{p-3443303e.js.map → p-406f7e5a.js.map} +0 -0
- /package/dist/atomic/{p-00b326bb.js.map → p-5e83a83d.js.map} +0 -0
- /package/dist/atomic/{p-d8705a4b.js.map → p-6d9dcfb7.js.map} +0 -0
- /package/dist/atomic/{p-c32ffba8.js.map → p-8f778162.js.map} +0 -0
- /package/dist/atomic/{p-6b524885.js.map → p-8f9590f0.js.map} +0 -0
- /package/dist/atomic/{p-a14f40f2.js.map → p-9748e9a8.js.map} +0 -0
- /package/dist/atomic/{p-0eb714c6.js.map → p-ae079ccf.js.map} +0 -0
- /package/dist/atomic/{p-2b2fd228.js.map → p-b8fb8a69.js.map} +0 -0
- /package/dist/atomic/{p-43cbacac.js.map → p-d609547d.js.map} +0 -0
- /package/dist/atomic/{p-bed4b7fe.js.map → p-d75a4630.js.map} +0 -0
- /package/dist/atomic/{p-1fca38e1.js.map → p-dcd04374.js.map} +0 -0
- /package/dist/atomic/{p-f4902f66.entry.js.map → p-efdb5e2b.entry.js.map} +0 -0
- /package/dist/types/components/common/{generated-answer/atomic-citation → atomic-citation}/citation-anchoring-utils.d.ts +0 -0
package/dist/atomic/components/components/insight/atomic-insight-result/atomic-insight-result.js
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Schema, StringValue } from '@coveo/bueno';
|
|
8
|
+
import { css, html, LitElement, nothing } from 'lit';
|
|
9
|
+
import { customElement, property, state } from 'lit/decorators.js';
|
|
10
|
+
import { createRef, ref } from 'lit/directives/ref.js';
|
|
11
|
+
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
12
|
+
import { CustomRenderController } from "../../common/layout/custom-render-controller";
|
|
13
|
+
import { ItemLayoutController } from "../../common/layout/item-layout-controller";
|
|
14
|
+
import { ValidatePropsController } from "../../common/validate-props-controller/validate-props-controller";
|
|
15
|
+
import { booleanConverter } from "../../../converters/boolean-converter";
|
|
16
|
+
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles";
|
|
17
|
+
import { ChildrenUpdateCompleteMixin } from "../../../mixins/children-update-complete-mixin";
|
|
18
|
+
import { parentNodeToString } from "../../../utils/dom-utils";
|
|
19
|
+
/**
|
|
20
|
+
* The `atomic-insight-result` component is used internally by the `atomic-insight-result-list` component.
|
|
21
|
+
*/
|
|
22
|
+
let AtomicInsightResult = class AtomicInsightResult extends ChildrenUpdateCompleteMixin(LitElement) {
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
25
|
+
this.resultRootRef = createRef();
|
|
26
|
+
/**
|
|
27
|
+
* How large or small results should be.
|
|
28
|
+
*/
|
|
29
|
+
this.density = 'normal';
|
|
30
|
+
/**
|
|
31
|
+
* The size of the image section in result list items.
|
|
32
|
+
* This is overwritten by the image size defined in the result content, if it exists.
|
|
33
|
+
*/
|
|
34
|
+
this.imageSize = 'icon';
|
|
35
|
+
/**
|
|
36
|
+
* The classes to add to the result element.
|
|
37
|
+
*/
|
|
38
|
+
this.classes = '';
|
|
39
|
+
this.resolveResult = (event) => {
|
|
40
|
+
event.preventDefault();
|
|
41
|
+
event.stopPropagation();
|
|
42
|
+
event.detail(this.result);
|
|
43
|
+
};
|
|
44
|
+
this.resolveInteractiveResult = (event) => {
|
|
45
|
+
event.preventDefault();
|
|
46
|
+
event.stopPropagation();
|
|
47
|
+
if (this.interactiveResult) {
|
|
48
|
+
event.detail(this.interactiveResult);
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
this.resolveStopPropagation = (event) => {
|
|
52
|
+
event.detail(this.stopPropagation);
|
|
53
|
+
};
|
|
54
|
+
this.resolveResultDisplayConfig = (event) => {
|
|
55
|
+
event.preventDefault();
|
|
56
|
+
event.stopPropagation();
|
|
57
|
+
event.detail({
|
|
58
|
+
density: this.density,
|
|
59
|
+
imageSize: this.imageSize,
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
new ValidatePropsController(this, () => ({
|
|
63
|
+
density: this.density,
|
|
64
|
+
imageSize: this.imageSize,
|
|
65
|
+
}), new Schema({
|
|
66
|
+
density: new StringValue({
|
|
67
|
+
constrainTo: ['normal', 'comfortable', 'compact'],
|
|
68
|
+
}),
|
|
69
|
+
imageSize: new StringValue({
|
|
70
|
+
constrainTo: ['small', 'large', 'icon', 'none'],
|
|
71
|
+
}),
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
async connectedCallback() {
|
|
75
|
+
super.connectedCallback();
|
|
76
|
+
new CustomRenderController(this, {
|
|
77
|
+
renderingFunction: () => this.renderingFunction,
|
|
78
|
+
itemData: () => this.result,
|
|
79
|
+
rootElementRef: () => this.resultRootRef.value,
|
|
80
|
+
onRenderComplete: (element, output) => {
|
|
81
|
+
this.itemLayoutController.applyLayoutClassesToElement(element, output);
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
this.itemLayoutController = new ItemLayoutController(this, {
|
|
85
|
+
elementPrefix: 'atomic-insight-result',
|
|
86
|
+
renderingFunction: () => this.renderingFunction,
|
|
87
|
+
content: () => this.content,
|
|
88
|
+
layoutConfig: () => ({
|
|
89
|
+
display: 'list',
|
|
90
|
+
density: this.density,
|
|
91
|
+
imageSize: this.imageSize,
|
|
92
|
+
}),
|
|
93
|
+
itemClasses: () => this.classes,
|
|
94
|
+
classesOnly: true,
|
|
95
|
+
});
|
|
96
|
+
this.addEventListener('atomic/resolveResult', this.resolveResult);
|
|
97
|
+
this.addEventListener('atomic/resolveInteractiveResult', this.resolveInteractiveResult);
|
|
98
|
+
this.addEventListener('atomic/resolveStopPropagation', this.resolveStopPropagation);
|
|
99
|
+
this.addEventListener('atomic/resolveResultDisplayConfig', this.resolveResultDisplayConfig);
|
|
100
|
+
await this.getUpdateComplete();
|
|
101
|
+
this.classList.add('hydrated');
|
|
102
|
+
this.classList.add('result-component');
|
|
103
|
+
}
|
|
104
|
+
disconnectedCallback() {
|
|
105
|
+
super.disconnectedCallback();
|
|
106
|
+
this.removeEventListener('atomic/resolveResult', this.resolveResult);
|
|
107
|
+
this.removeEventListener('atomic/resolveInteractiveResult', this.resolveInteractiveResult);
|
|
108
|
+
this.removeEventListener('atomic/resolveStopPropagation', this.resolveStopPropagation);
|
|
109
|
+
this.removeEventListener('atomic/resolveResultDisplayConfig', this.resolveResultDisplayConfig);
|
|
110
|
+
}
|
|
111
|
+
getContentHTML() {
|
|
112
|
+
if (!this.content) {
|
|
113
|
+
console.warn('atomic-insight-result: content property is undefined. Cannot get content HTML.', this);
|
|
114
|
+
return '';
|
|
115
|
+
}
|
|
116
|
+
return parentNodeToString(this.content);
|
|
117
|
+
}
|
|
118
|
+
render() {
|
|
119
|
+
if (this.renderingFunction !== undefined) {
|
|
120
|
+
return html `
|
|
121
|
+
<div
|
|
122
|
+
class="result-root"
|
|
123
|
+
${ref(this.resultRootRef)}
|
|
124
|
+
></div>
|
|
125
|
+
`;
|
|
126
|
+
}
|
|
127
|
+
// Handle case where content is undefined and layout was not created
|
|
128
|
+
if (!this.itemLayoutController.getLayout()) {
|
|
129
|
+
return nothing;
|
|
130
|
+
}
|
|
131
|
+
return html `
|
|
132
|
+
<div
|
|
133
|
+
class="result-root ${this.itemLayoutController
|
|
134
|
+
.getCombinedClasses()
|
|
135
|
+
.join(' ')}"
|
|
136
|
+
>
|
|
137
|
+
${unsafeHTML(this.getContentHTML())}
|
|
138
|
+
</div>
|
|
139
|
+
`;
|
|
140
|
+
}
|
|
141
|
+
firstUpdated(_changedProperties) {
|
|
142
|
+
if (this.loadingFlag && this.store) {
|
|
143
|
+
this.store.unsetLoadingFlag(this.loadingFlag);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
AtomicInsightResult.styles = css`/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer properties;atomic-result-section-badges{text-align:left}atomic-result-section-actions{text-align:right}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-emphasized{font-weight:500;--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.5rem}:host{@layer components{:host{font-family:var(--atomic-font-family);--tw-font-weight:var(--atomic-font-normal);font-weight:var(--atomic-font-normal)}atomic-result-section-actions,atomic-result-section-badges{text-align:left}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-emphasized{font-weight:500;--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.5rem}.result-root{&.with-sections{display:grid;justify-items:stretch;atomic-result-section-visual{grid-area:visual}atomic-result-section-badges{grid-area:badges}atomic-result-section-actions{grid-area:actions;atomic-result-quickview{display:inline-block}}atomic-result-section-title{color:var(--atomic-on-background);grid-area:title}atomic-result-section-title-metadata{grid-area:title-metadata}atomic-result-section-emphasized{grid-area:emphasized}atomic-result-section-excerpt{color:var(--atomic-neutral-dark);grid-area:excerpt}atomic-result-section-bottom-metadata{color:var(--atomic-neutral-dark);grid-area:bottom-metadata}atomic-result-section-children{grid-area:children}atomic-result-section-actions,atomic-result-section-badges{display:flex;flex-wrap:wrap;gap:.5rem;max-height:calc(var(--row-height, 2rem)*2 + .5rem)}atomic-result-section-actions,atomic-result-section-badges,atomic-result-section-bottom-metadata,atomic-result-section-emphasized,atomic-result-section-excerpt,atomic-result-section-title,atomic-result-section-title-metadata,atomic-result-section-visual{overflow:hidden;text-overflow:ellipsis}&.image-icon{atomic-result-section-visual{border-radius:var(--atomic-border-radius)}}&.display-list{@media (width >= 1024px){&.image-large.density-compact{atomic-result-section-visual{height:10.25rem;width:10.25rem}}atomic-result-section-children{atomic-insight-result-children::part(children-root),atomic-result-children::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px}}&.density-comfortable{atomic-result-section-visual{margin-right:1.5rem}atomic-result-section-actions,atomic-result-section-badges{margin-bottom:1.5rem;--row-height:2rem}atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:1.75rem;--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:4.5rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}atomic-result-section-bottom-metadata{margin-top:1.25rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:4rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:1.25rem;padding:1.75rem}&::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:1.25rem;padding:1.75rem}&::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1.75rem}}&.density-normal{atomic-result-section-visual{margin-right:1rem}atomic-result-section-actions,atomic-result-section-badges{margin-bottom:1rem;--row-height:2rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:1.25rem;--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:2.5rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-bottom-metadata{margin-top:.875rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:3.5rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.875rem;padding:1.5rem}&::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.875rem;padding:1.5rem}&::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1.5rem}}&.density-compact{atomic-result-section-visual{margin-right:1rem}atomic-result-section-actions,atomic-result-section-badges{margin-bottom:1rem;--row-height:2rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:1rem;--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:1.25rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}atomic-result-section-bottom-metadata{margin-top:.6875rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:3.25rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.475rem;padding:1rem}&::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.475rem;padding:1rem}&::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1rem}}&.image-large,&.image-small{grid-template-areas:"badges badges . actions" "visual title title title" "visual title-metadata title-metadata title-metadata" "visual emphasized emphasized emphasized" "visual excerpt excerpt excerpt" "visual bottom-metadata bottom-metadata bottom-metadata" "visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(6,auto) minmax(0,1fr)}&.image-large.density-comfortable,&.image-large.density-normal{atomic-result-section-visual{height:20.375rem;width:20.375rem}}&.image-large.density-compact,&.image-small{atomic-result-section-visual{height:10rem;width:10rem}}&.image-icon{grid-template-areas:"badges badges . actions" "visual title title title" "visual title-metadata title-metadata title-metadata" "visual emphasized emphasized emphasized" "visual excerpt excerpt excerpt" "visual bottom-metadata bottom-metadata bottom-metadata" "visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(7,minmax(0,min-content));atomic-result-section-visual{height:2rem;width:2rem}}&.image-none{grid-template-areas:"badges . actions" "title title title" "title-metadata title-metadata title-metadata" "emphasized emphasized emphasized" "excerpt excerpt excerpt" "bottom-metadata bottom-metadata bottom-metadata" "children children children";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(6,auto);atomic-result-section-visual{display:none}}}@media not all and (width >= 1024px){atomic-result-section-children{atomic-insight-result-children::part(children-root),atomic-result-children::part(children-root){border-top:1px var(--tw-border-style) var(--atomic-neutral)}}&.density-comfortable{atomic-result-section-visual{margin-right:1rem}atomic-result-section-badges{margin-bottom:1rem;--row-height:2rem}atomic-result-section-actions{margin-top:1rem;--row-height:2.5rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:1.25rem;--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:2.5rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-bottom-metadata{margin-top:.75rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:4rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.75rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.75rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1.75rem}}&.density-normal{atomic-result-section-visual{margin-right:1rem}atomic-result-section-badges{margin-bottom:1rem;--row-height:2rem}atomic-result-section-actions{margin-top:.75rem;--row-height:2.5rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:1rem;--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:2.5rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-bottom-metadata{margin-top:.625rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:3.5rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.5rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.5rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1.5rem}}&.density-compact{atomic-result-section-visual{margin-right:1rem}atomic-result-section-badges{margin-bottom:1rem;--row-height:2rem}atomic-result-section-actions{margin-top:.5em;--row-height:2.5rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:.75rem;--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:1.25rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}atomic-result-section-bottom-metadata{margin-top:.4375rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:3.25rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1rem}}&.image-large{grid-template-areas:"visual" "badges" "title" "title-metadata" "emphasized" "excerpt" "bottom-metadata" "actions" "children";grid-template-columns:100%;grid-template-rows:repeat(8,auto);atomic-result-section-visual{aspect-ratio:1/1;height:auto;@supports not (aspect-ratio:1/1){height:7.25rem}margin-bottom:1rem;margin-right:0;width:100%}}&.image-small{grid-template-areas:"badges badges" "visual title" "visual title-metadata" "visual emphasized" "visual ." "excerpt excerpt" "bottom-metadata bottom-metadata" "actions actions" "children children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(4,auto) minmax(0,1fr) repeat(3,auto);atomic-result-section-visual{height:24vw;margin-bottom:1rem;width:24vw}}&.image-icon{grid-template-areas:"badges badges" "visual title" "visual title-metadata" "visual emphasized" "visual excerpt" "visual bottom-metadata" "visual actions" "visual children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(7,auto) 1fr;atomic-result-section-visual{height:2rem;margin-bottom:0;width:2rem}}&.image-none{grid-template-areas:"badges" "title" "title-metadata" "emphasized" "excerpt" "bottom-metadata" "actions" "children";grid-template-columns:100%;grid-template-rows:repeat(7,auto);atomic-result-section-visual{display:none}}}}&.display-grid{a,button{position:relative}&.image-large{@media (width >= 1024px){grid-template-areas:"badges" "visual" "title" "title-metadata" "emphasized" "excerpt" "children" "bottom-metadata" "actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto);&.density-comfortable{&.image-large,&.image-small{atomic-result-section-visual{margin:0 auto 2rem}}&.image-icon{atomic-result-section-badges{margin-bottom:2rem}atomic-result-section-visual{height:2rem;width:2rem}}atomic-result-section-visual{margin-bottom:.5rem}atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-bottom:1rem;--row-height:2rem}atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:2.25rem;--row-height:2.5rem}atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);overflow:hidden;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}atomic-result-section-emphasized{font-weight:500;--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);margin-top:2.25rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.75rem;max-height:4rem}}&.density-normal{&.image-large,&.image-small{atomic-result-section-visual{margin:0 auto 1.5rem}}&.image-icon{atomic-result-section-badges{margin-bottom:1.5rem}atomic-result-section-visual{height:2rem;width:2rem}}atomic-result-section-visual{margin-bottom:.5rem}atomic-result-section-badges{margin-bottom:1rem}atomic-result-section-actions,atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem}atomic-result-section-actions{margin-top:1.75rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);overflow:hidden;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}atomic-result-section-emphasized{font-weight:500;--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);margin-top:1.75rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.375rem;max-height:3.5rem}}&.density-compact{&.image-large,&.image-small{atomic-result-section-visual{margin:0 auto 1rem}}&.image-icon{atomic-result-section-badges{margin-bottom:1rem}atomic-result-section-visual{height:2rem;width:2rem}}atomic-result-section-visual{margin-bottom:.5rem}atomic-result-section-badges{margin-bottom:1rem}atomic-result-section-actions,atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem}atomic-result-section-actions{margin-top:1.25rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);overflow:hidden;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}atomic-result-section-emphasized{font-weight:500;--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);margin-top:1.25rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.9375rem;max-height:3.25rem}}&.image-large{atomic-result-section-visual{aspect-ratio:1/1;height:auto;@supports not (aspect-ratio:1/1){height:19.75rem}width:100%}atomic-result-section-badges{margin-bottom:1rem}}&.image-small{atomic-result-section-visual{aspect-ratio:1/1;height:auto;@supports not (aspect-ratio:1/1){height:14rem}width:100%}}&.image-none{atomic-result-section-visual{display:none}}}@media not all and (width >= 1024px){atomic-result-section-children{atomic-insight-result-children::part(children-root),atomic-result-children::part(children-root){border-top:1px var(--tw-border-style) var(--atomic-neutral)}}&.density-comfortable{atomic-result-section-visual{margin-right:1rem}atomic-result-section-badges{margin-bottom:1rem;--row-height:2rem}atomic-result-section-actions{margin-top:1rem;--row-height:2.5rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:1.25rem;--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:2.5rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-bottom-metadata{margin-top:.75rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:4rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.75rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.75rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1.75rem}}&.density-normal{atomic-result-section-visual{margin-right:1rem}atomic-result-section-badges{margin-bottom:1rem;--row-height:2rem}atomic-result-section-actions{margin-top:.75rem;--row-height:2.5rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:1rem;--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:2.5rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-bottom-metadata{margin-top:.625rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:3.5rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.5rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.5rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1.5rem}}&.density-compact{atomic-result-section-visual{margin-right:1rem}atomic-result-section-badges{margin-bottom:1rem;--row-height:2rem}atomic-result-section-actions{margin-top:.5em;--row-height:2.5rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:.75rem;--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:1.25rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}atomic-result-section-bottom-metadata{margin-top:.4375rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:3.25rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1rem;padding-inline:1rem}&::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1rem}}&.image-large{grid-template-areas:"visual" "badges" "title" "title-metadata" "emphasized" "excerpt" "bottom-metadata" "actions" "children";grid-template-columns:100%;grid-template-rows:repeat(8,auto);atomic-result-section-visual{aspect-ratio:1/1;height:auto;@supports not (aspect-ratio:1/1){height:7.25rem}margin-bottom:1rem;margin-right:0;width:100%}}&.image-small{grid-template-areas:"badges badges" "visual title" "visual title-metadata" "visual emphasized" "visual ." "excerpt excerpt" "bottom-metadata bottom-metadata" "actions actions" "children children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(4,auto) minmax(0,1fr) repeat(3,auto);atomic-result-section-visual{height:24vw;margin-bottom:1rem;width:24vw}}&.image-icon{grid-template-areas:"badges badges" "visual title" "visual title-metadata" "visual emphasized" "visual excerpt" "visual bottom-metadata" "visual actions" "visual children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(7,auto) 1fr;atomic-result-section-visual{height:2rem;margin-bottom:0;width:2rem}}&.image-none{grid-template-areas:"badges" "title" "title-metadata" "emphasized" "excerpt" "bottom-metadata" "actions" "children";grid-template-columns:100%;grid-template-rows:repeat(7,auto);atomic-result-section-visual{display:none}}}}&.image-icon,&.image-none,&.image-small{@media (width >= 1024px){grid-template-areas:"badges" "visual" "title" "title-metadata" "emphasized" "excerpt" "children" "bottom-metadata" "actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto);&.density-comfortable{&.image-large,&.image-small{atomic-result-section-visual{margin:0 auto 2rem}}&.image-icon{atomic-result-section-badges{margin-bottom:2rem}atomic-result-section-visual{height:2rem;width:2rem}}atomic-result-section-visual{margin-bottom:.5rem}atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-bottom:1rem;--row-height:2rem}atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:2.25rem;--row-height:2.5rem}atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);overflow:hidden;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}atomic-result-section-emphasized{font-weight:500;--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);margin-top:2.25rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.75rem;max-height:4rem}}&.density-normal{&.image-large,&.image-small{atomic-result-section-visual{margin:0 auto 1.5rem}}&.image-icon{atomic-result-section-badges{margin-bottom:1.5rem}atomic-result-section-visual{height:2rem;width:2rem}}atomic-result-section-visual{margin-bottom:.5rem}atomic-result-section-badges{margin-bottom:1rem}atomic-result-section-actions,atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem}atomic-result-section-actions{margin-top:1.75rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);overflow:hidden;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}atomic-result-section-emphasized{font-weight:500;--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);margin-top:1.75rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.375rem;max-height:3.5rem}}&.density-compact{&.image-large,&.image-small{atomic-result-section-visual{margin:0 auto 1rem}}&.image-icon{atomic-result-section-badges{margin-bottom:1rem}atomic-result-section-visual{height:2rem;width:2rem}}atomic-result-section-visual{margin-bottom:.5rem}atomic-result-section-badges{margin-bottom:1rem}atomic-result-section-actions,atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem}atomic-result-section-actions{margin-top:1.25rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);overflow:hidden;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}atomic-result-section-emphasized{font-weight:500;--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);margin-top:1.25rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.9375rem;max-height:3.25rem}}&.image-large{atomic-result-section-visual{aspect-ratio:1/1;height:auto;@supports not (aspect-ratio:1/1){height:19.75rem}width:100%}atomic-result-section-badges{margin-bottom:1rem}}&.image-small{atomic-result-section-visual{aspect-ratio:1/1;height:auto;@supports not (aspect-ratio:1/1){height:14rem}width:100%}}&.image-none{atomic-result-section-visual{display:none}}}@media not all and (width >= 1024px){grid-template-areas:"badges" "visual" "title" "title-metadata" "emphasized" "excerpt" "children" "bottom-metadata" "actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto);&.density-comfortable{atomic-result-section-visual{margin-bottom:1rem}&.image-small{atomic-result-section-visual{height:10.25rem;width:10.25rem}}atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-bottom:1rem;--row-height:2rem}atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.25rem;--row-height:2rem}atomic-result-section-title{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:3rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}atomic-result-section-emphasized{font-weight:500;--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);margin-top:1.25rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1rem;max-height:3rem}atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.25rem}}&.density-normal{atomic-result-section-visual{margin-bottom:.75rem}&.image-small{atomic-result-section-visual{height:10.25rem;width:10.25rem}}atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-bottom:1rem;--row-height:2rem}atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1rem;--row-height:2rem}atomic-result-section-title{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:3rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}atomic-result-section-emphasized{font-weight:500;--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);margin-top:1rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem;max-height:3rem}atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1rem}}&.density-compact{atomic-result-section-visual{margin-bottom:.5rem}&.image-large{atomic-result-section-visual{width:100%}}&.image-small{atomic-result-section-visual{height:10.25rem;width:10.25rem}}atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-bottom:1rem;--row-height:2rem}atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem;--row-height:2rem}atomic-result-section-title{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:3rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}atomic-result-section-emphasized{font-weight:500;--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);margin-top:.75rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.5rem;max-height:3rem}atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem}}&.image-small{atomic-result-section-visual{aspect-ratio:1/1;height:auto;@supports not (aspect-ratio:1/1){height:9rem}width:100%}}&.image-icon{atomic-result-section-visual{height:2rem;width:2rem}}&.image-none{atomic-result-section-visual{display:none}}}}}&.display-table{&.image-large.density-compact{atomic-result-section-visual{height:10.25rem;width:10.25rem}}atomic-result-section-children{atomic-insight-result-children::part(children-root),atomic-result-children::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px}}&.density-comfortable{atomic-result-section-visual{margin-right:1.5rem}atomic-result-section-actions,atomic-result-section-badges{margin-bottom:1.5rem;--row-height:2rem}atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:1.75rem;--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:4.5rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}atomic-result-section-bottom-metadata{margin-top:1.25rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:4rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:1.25rem;padding:1.75rem}&::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:1.25rem;padding:1.75rem}&::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1.75rem}}&.density-normal{atomic-result-section-visual{margin-right:1rem}atomic-result-section-actions,atomic-result-section-badges{margin-bottom:1rem;--row-height:2rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:1.25rem;--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:2.5rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}atomic-result-section-bottom-metadata{margin-top:.875rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:3.5rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.875rem;padding:1.5rem}&::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.875rem;padding:1.5rem}&::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1.5rem}}&.density-compact{atomic-result-section-visual{margin-right:1rem}atomic-result-section-actions,atomic-result-section-badges{margin-bottom:1rem;--row-height:2rem}atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-excerpt{margin-top:1rem;--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));display:-webkit-box;line-height:var(--line-height);max-height:1.25rem;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}atomic-result-section-bottom-metadata{margin-top:.6875rem;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);max-height:3.25rem}atomic-result-section-title-metadata{margin-top:.475rem}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.475rem;padding:1rem}&::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}}atomic-insight-result-children,atomic-result-children{&::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.475rem;padding:1rem}&::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}}&.child-result:not(.last-child),.placeholder{margin-bottom:1rem}}&.image-large,&.image-small{grid-template-areas:"badges badges . actions" "visual title title title" "visual title-metadata title-metadata title-metadata" "visual emphasized emphasized emphasized" "visual excerpt excerpt excerpt" "visual bottom-metadata bottom-metadata bottom-metadata" "visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(6,auto) minmax(0,1fr)}&.image-large.density-comfortable,&.image-large.density-normal{atomic-result-section-visual{height:20.375rem;width:20.375rem}}&.image-large.density-compact,&.image-small{atomic-result-section-visual{height:10rem;width:10rem}}&.image-icon{grid-template-areas:"badges badges . actions" "visual title title title" "visual title-metadata title-metadata title-metadata" "visual emphasized emphasized emphasized" "visual excerpt excerpt excerpt" "visual bottom-metadata bottom-metadata bottom-metadata" "visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(7,minmax(0,min-content));atomic-result-section-visual{height:2rem;width:2rem}}&.image-none{grid-template-areas:"badges . actions" "title title title" "title-metadata title-metadata title-metadata" "emphasized emphasized emphasized" "excerpt excerpt excerpt" "bottom-metadata bottom-metadata bottom-metadata" "children children children";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(6,auto);atomic-result-section-visual{display:none}}}}atomic-table-element{display:none}}.link-container{display:none}}position:relative;.with-sections:not(.child-result){padding:var(--atomic-layout-spacing-y) var(--atomic-layout-spacing-x)}}:host(:hover) .with-sections{background-color:var(--atomic-neutral-lighter)}:host(:hover) atomic-insight-result-action-bar{visibility:visible}:host(:first-of-type) .with-sections:not(.child-result){padding-top:2rem}:host(:first-of-type) atomic-insight-result-action-bar{top:0}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial;--tw-border-style:solid}}}`;
|
|
148
|
+
__decorate([
|
|
149
|
+
state()
|
|
150
|
+
], AtomicInsightResult.prototype, "error", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
property({
|
|
153
|
+
attribute: 'stop-propagation',
|
|
154
|
+
type: Boolean,
|
|
155
|
+
converter: booleanConverter,
|
|
156
|
+
reflect: true,
|
|
157
|
+
})
|
|
158
|
+
], AtomicInsightResult.prototype, "stopPropagation", void 0);
|
|
159
|
+
__decorate([
|
|
160
|
+
property({ type: Object })
|
|
161
|
+
], AtomicInsightResult.prototype, "result", void 0);
|
|
162
|
+
__decorate([
|
|
163
|
+
property({ type: Object, attribute: 'interactive-result' })
|
|
164
|
+
], AtomicInsightResult.prototype, "interactiveResult", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
property({ type: Object })
|
|
167
|
+
], AtomicInsightResult.prototype, "store", void 0);
|
|
168
|
+
__decorate([
|
|
169
|
+
property({ type: Object })
|
|
170
|
+
], AtomicInsightResult.prototype, "content", void 0);
|
|
171
|
+
__decorate([
|
|
172
|
+
property({ reflect: true, type: String })
|
|
173
|
+
], AtomicInsightResult.prototype, "density", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
property({ reflect: true, type: String, attribute: 'image-size' })
|
|
176
|
+
], AtomicInsightResult.prototype, "imageSize", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
property({ type: String })
|
|
179
|
+
], AtomicInsightResult.prototype, "classes", void 0);
|
|
180
|
+
__decorate([
|
|
181
|
+
property({ type: String, attribute: 'loading-flag' })
|
|
182
|
+
], AtomicInsightResult.prototype, "loadingFlag", void 0);
|
|
183
|
+
__decorate([
|
|
184
|
+
property({ type: Object, attribute: 'rendering-function' })
|
|
185
|
+
], AtomicInsightResult.prototype, "renderingFunction", void 0);
|
|
186
|
+
AtomicInsightResult = __decorate([
|
|
187
|
+
customElement('atomic-insight-result'),
|
|
188
|
+
withTailwindStyles
|
|
189
|
+
], AtomicInsightResult);
|
|
190
|
+
export { AtomicInsightResult };
|
|
@@ -5,12 +5,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ResultTemplatesHelpers as InsightResultTemplatesHelpers } from '@coveo/headless/insight';
|
|
8
|
-
import {
|
|
8
|
+
import { LitElement, nothing } from 'lit';
|
|
9
9
|
import { customElement, property, state } from 'lit/decorators.js';
|
|
10
10
|
import { ResultTemplateController } from "../../common/result-templates/result-template-controller";
|
|
11
11
|
import { makeMatchConditions } from "../../common/template-controller/template-utils";
|
|
12
12
|
import { arrayConverter } from "../../../converters/array-converter";
|
|
13
13
|
import { errorGuard } from "../../../decorators/error-guard";
|
|
14
|
+
import "../atomic-insight-result/atomic-insight-result.js";
|
|
14
15
|
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles.js";
|
|
15
16
|
import { mapProperty } from "../../../utils/props-utils";
|
|
16
17
|
/**
|
|
@@ -42,7 +43,7 @@ let AtomicInsightResultTemplate = class AtomicInsightResultTemplate extends LitE
|
|
|
42
43
|
this.resultTemplateController.matchConditions = makeMatchConditions(this.mustMatch, this.mustNotMatch, InsightResultTemplatesHelpers);
|
|
43
44
|
}
|
|
44
45
|
render() {
|
|
45
|
-
return
|
|
46
|
+
return nothing;
|
|
46
47
|
}
|
|
47
48
|
/**
|
|
48
49
|
* Gets the appropriate result template based on conditions applied.
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { buildSearchBox as buildInsightSearchBox, loadInsightSearchActions, } from '@coveo/headless/insight';
|
|
8
|
+
import { html, LitElement, nothing } from 'lit';
|
|
9
|
+
import { customElement, property, state } from 'lit/decorators.js';
|
|
10
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
11
|
+
import { createRef, ref, } from 'lit/directives/ref.js';
|
|
12
|
+
import { renderSearchBoxWrapper } from "../../common/search-box/search-box-wrapper";
|
|
13
|
+
import { renderSearchBoxTextArea } from "../../common/search-box/search-text-area";
|
|
14
|
+
import { getPartialSearchBoxSuggestionElement, renderQuerySuggestion, } from "../../common/suggestions/query-suggestions";
|
|
15
|
+
import { SuggestionManager } from "../../common/suggestions/suggestion-manager";
|
|
16
|
+
import { elementHasQuery } from "../../common/suggestions/suggestions-utils";
|
|
17
|
+
import { bindStateToController } from "../../../decorators/bind-state";
|
|
18
|
+
import { bindings } from "../../../decorators/bindings";
|
|
19
|
+
import { errorGuard } from "../../../decorators/error-guard";
|
|
20
|
+
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles";
|
|
21
|
+
import { AriaLiveRegionController } from "../../../utils/accessibility-utils";
|
|
22
|
+
import { hasKeyboard, isMacOS } from "../../../utils/device-utils";
|
|
23
|
+
import { isFocusingOut, randomID } from "../../../utils/utils";
|
|
24
|
+
const SearchSlimIcon = "<svg width=\"17\" height=\"17\" viewBox=\"0 0 17 17\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<circle cx=\"7\" cy=\"7\" r=\"6.5\" stroke=\"currentColor\"/>\n<path d=\"M16 16L12 12\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
|
25
|
+
import "../../common/atomic-icon/atomic-icon";
|
|
26
|
+
import { bindingGuard } from "../../../decorators/binding-guard";
|
|
27
|
+
import styles from './atomic-insight-search-box.tw.css';
|
|
28
|
+
/**
|
|
29
|
+
* The `atomic-insight-search-box` component allows users to enter and submit search queries within the Insight interface.
|
|
30
|
+
* It provides query suggestions as the user types.
|
|
31
|
+
*
|
|
32
|
+
* @part wrapper - The wrapper around the entire search box.
|
|
33
|
+
* @part submit-icon - The search icon displayed in the search box.
|
|
34
|
+
* @part textarea - The text area where users enter their search queries.
|
|
35
|
+
* @part textarea-expander - The container that allows the textarea to expand.
|
|
36
|
+
* @part clear-button-wrapper - The wrapper for the clear button.
|
|
37
|
+
* @part clear-icon - The icon in the clear button.
|
|
38
|
+
* @part suggestions-wrapper - The wrapper around the suggestions panel.
|
|
39
|
+
* @part suggestions - The container for the suggestions.
|
|
40
|
+
*/
|
|
41
|
+
let AtomicInsightSearchBox = class AtomicInsightSearchBox extends LitElement {
|
|
42
|
+
constructor() {
|
|
43
|
+
super(...arguments);
|
|
44
|
+
this.isExpanded = false;
|
|
45
|
+
/**
|
|
46
|
+
* Whether to prevent the user from triggering a search from the component.
|
|
47
|
+
* Perfect for use cases where you need to disable the search conditionally, like when the input is empty.
|
|
48
|
+
*/
|
|
49
|
+
this.disableSearch = false;
|
|
50
|
+
/**
|
|
51
|
+
* The number of query suggestions to display when interacting with the search box.
|
|
52
|
+
*/
|
|
53
|
+
this.numberOfSuggestions = 5;
|
|
54
|
+
this.textAreaRef = createRef();
|
|
55
|
+
this.searchBoxAriaMessage = new AriaLiveRegionController(this, 'search-box');
|
|
56
|
+
this.suggestionsAriaMessage = new AriaLiveRegionController(this, 'search-suggestions', true);
|
|
57
|
+
}
|
|
58
|
+
initialize() {
|
|
59
|
+
this.searchBoxId = randomID('atomic-search-box-');
|
|
60
|
+
const searchBoxOptions = {
|
|
61
|
+
id: this.searchBoxId,
|
|
62
|
+
numberOfSuggestions: 0,
|
|
63
|
+
highlightOptions: {
|
|
64
|
+
notMatchDelimiters: {
|
|
65
|
+
open: '<span class="font-bold">',
|
|
66
|
+
close: '</span>',
|
|
67
|
+
},
|
|
68
|
+
correctionDelimiters: {
|
|
69
|
+
open: '<span class="font-normal">',
|
|
70
|
+
close: '</span>',
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
const { fetchQuerySuggestions, registerQuerySuggest } = loadInsightSearchActions(this.bindings.engine);
|
|
75
|
+
this.searchBox = buildInsightSearchBox(this.bindings.engine, {
|
|
76
|
+
options: searchBoxOptions,
|
|
77
|
+
});
|
|
78
|
+
this.bindings.engine.dispatch(registerQuerySuggest({
|
|
79
|
+
id: this.searchBoxId,
|
|
80
|
+
count: this.numberOfSuggestions,
|
|
81
|
+
}));
|
|
82
|
+
this.suggestionManager = new SuggestionManager({
|
|
83
|
+
getNumberOfSuggestionsToDisplay: () => this.numberOfSuggestions,
|
|
84
|
+
updateQuery: (query) => this.searchBox.updateText(query),
|
|
85
|
+
getSearchBoxValue: () => this.searchBoxState.value,
|
|
86
|
+
getSuggestionTimeout: () => 500,
|
|
87
|
+
getSuggestionDelay: () => 0,
|
|
88
|
+
getHost: () => this,
|
|
89
|
+
getLogger: () => this.bindings.engine.logger,
|
|
90
|
+
});
|
|
91
|
+
this.suggestionManager.registerSuggestions({
|
|
92
|
+
position: 0,
|
|
93
|
+
renderItems: () => this.searchBox.state.suggestions.map((suggestion) => this.renderSuggestionItem(suggestion)),
|
|
94
|
+
onInput: () => this.bindings.engine.dispatch(fetchQuerySuggestions({ id: this.searchBoxId })),
|
|
95
|
+
panel: 'left',
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
onSubmit() {
|
|
99
|
+
if (this.suggestionManager.activeDescendantElement) {
|
|
100
|
+
this.suggestionManager.clickOnActiveElement();
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
this.searchBox.submit();
|
|
104
|
+
this.suggestionManager.clearSuggestions();
|
|
105
|
+
}
|
|
106
|
+
async onKeyDown(e) {
|
|
107
|
+
if (this.disableSearch) {
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
switch (e.key) {
|
|
111
|
+
case 'Enter':
|
|
112
|
+
this.onSubmit();
|
|
113
|
+
break;
|
|
114
|
+
case 'Escape':
|
|
115
|
+
this.suggestionManager.clearSuggestions();
|
|
116
|
+
break;
|
|
117
|
+
case 'ArrowDown':
|
|
118
|
+
e.preventDefault();
|
|
119
|
+
await this.suggestionManager.focusNextValue();
|
|
120
|
+
this.announceNewActiveSuggestionToScreenReader();
|
|
121
|
+
break;
|
|
122
|
+
case 'ArrowUp':
|
|
123
|
+
e.preventDefault();
|
|
124
|
+
await this.suggestionManager.focusPreviousValue();
|
|
125
|
+
this.announceNewActiveSuggestionToScreenReader();
|
|
126
|
+
break;
|
|
127
|
+
case 'Tab':
|
|
128
|
+
this.suggestionManager.clearSuggestions();
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
triggerTextAreaChange(value) {
|
|
133
|
+
if (!this.textAreaRef.value) {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
this.textAreaRef.value.value = value;
|
|
137
|
+
this.textAreaRef.value.dispatchEvent(new window.Event('change'));
|
|
138
|
+
}
|
|
139
|
+
renderSuggestion(item, index, lastIndex) {
|
|
140
|
+
const id = `${this.searchBoxId}-suggestion-${item.key}`;
|
|
141
|
+
const isSelected = id === this.suggestionManager.activeDescendant ||
|
|
142
|
+
this.suggestionManager.suggestedQuery === item.query;
|
|
143
|
+
if (index === lastIndex && item.hideIfLast) {
|
|
144
|
+
return nothing;
|
|
145
|
+
}
|
|
146
|
+
return html `<atomic-suggestion-renderer
|
|
147
|
+
.i18n=${this.bindings.i18n}
|
|
148
|
+
.id=${id}
|
|
149
|
+
.suggestion=${item}
|
|
150
|
+
.isSelected=${isSelected}
|
|
151
|
+
.side=${'left'}
|
|
152
|
+
.index=${index}
|
|
153
|
+
.lastIndex=${lastIndex}
|
|
154
|
+
.isDoubleList=${false}
|
|
155
|
+
@click=${(e) => {
|
|
156
|
+
this.suggestionManager.onSuggestionClick(item, e);
|
|
157
|
+
}}
|
|
158
|
+
@mouseover=${() => {
|
|
159
|
+
this.suggestionManager.onSuggestionMouseOver(item, 'left', id);
|
|
160
|
+
}}
|
|
161
|
+
></atomic-suggestion-renderer>`;
|
|
162
|
+
}
|
|
163
|
+
renderSuggestionItem(suggestion) {
|
|
164
|
+
const hasQuery = this.searchBox.state.value !== '';
|
|
165
|
+
const partialItem = getPartialSearchBoxSuggestionElement(suggestion, this.bindings.i18n);
|
|
166
|
+
return {
|
|
167
|
+
...partialItem,
|
|
168
|
+
content: renderQuerySuggestion({
|
|
169
|
+
icon: SearchSlimIcon,
|
|
170
|
+
hasQuery,
|
|
171
|
+
suggestion,
|
|
172
|
+
hasMultipleKindOfSuggestions: false,
|
|
173
|
+
alwaysShowIcon: this.searchBoxState.suggestions.length > 1,
|
|
174
|
+
}),
|
|
175
|
+
onSelect: () => {
|
|
176
|
+
this.searchBox.selectSuggestion(suggestion.rawValue);
|
|
177
|
+
},
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
renderPanel(elements, setRef, getRef) {
|
|
181
|
+
if (!elements.length) {
|
|
182
|
+
return nothing;
|
|
183
|
+
}
|
|
184
|
+
return html `<div
|
|
185
|
+
part="suggestions"
|
|
186
|
+
${ref(setRef)}
|
|
187
|
+
class="flex grow basis-1/2 flex-col"
|
|
188
|
+
@mousedown=${(e) => {
|
|
189
|
+
if (e.target === getRef()) {
|
|
190
|
+
e.preventDefault();
|
|
191
|
+
}
|
|
192
|
+
}}
|
|
193
|
+
>
|
|
194
|
+
${elements.map((suggestion, index) => this.renderSuggestion(suggestion, index, elements.length - 1))}
|
|
195
|
+
</div>`;
|
|
196
|
+
}
|
|
197
|
+
renderSuggestions() {
|
|
198
|
+
if (!this.suggestionManager.hasSuggestions) {
|
|
199
|
+
this.suggestionManager.updateActiveDescendant();
|
|
200
|
+
return nothing;
|
|
201
|
+
}
|
|
202
|
+
const isVisible = this.suggestionManager.hasSuggestions && this.isExpanded;
|
|
203
|
+
const classes = {
|
|
204
|
+
'bg-background border-neutral absolute top-full left-0 z-10 flex w-full rounded-md border': true,
|
|
205
|
+
hidden: !isVisible,
|
|
206
|
+
};
|
|
207
|
+
return html `<div
|
|
208
|
+
id="${this.searchBoxId}-popup"
|
|
209
|
+
part="suggestions-wrapper"
|
|
210
|
+
class=${classMap(classes)}
|
|
211
|
+
role="application"
|
|
212
|
+
aria-label=${this.bindings.i18n.t('search-suggestions-single-list')}
|
|
213
|
+
aria-activedescendant=${this.suggestionManager.activeDescendant}
|
|
214
|
+
>
|
|
215
|
+
${this.renderPanel(this.suggestionManager.allSuggestionElements, (el) => {
|
|
216
|
+
this.suggestionManager.leftPanel = el;
|
|
217
|
+
}, () => this.suggestionManager.leftPanel)}
|
|
218
|
+
</div>`;
|
|
219
|
+
}
|
|
220
|
+
getSearchInputLabel() {
|
|
221
|
+
if (isMacOS()) {
|
|
222
|
+
return this.bindings.i18n.t('search-box-with-suggestions-macos');
|
|
223
|
+
}
|
|
224
|
+
if (!hasKeyboard()) {
|
|
225
|
+
return this.bindings.i18n.t('search-box-with-suggestions-keyboardless');
|
|
226
|
+
}
|
|
227
|
+
return this.bindings.i18n.t('search-box-with-suggestions');
|
|
228
|
+
}
|
|
229
|
+
async onFocus() {
|
|
230
|
+
if (this.isExpanded) {
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
this.isExpanded = true;
|
|
234
|
+
await this.suggestionManager.triggerSuggestions();
|
|
235
|
+
this.announceNewSuggestionsToScreenReader();
|
|
236
|
+
}
|
|
237
|
+
async onInput(value) {
|
|
238
|
+
this.searchBox.updateText(value);
|
|
239
|
+
this.isExpanded = true;
|
|
240
|
+
await this.suggestionManager.triggerSuggestions();
|
|
241
|
+
this.announceNewSuggestionsToScreenReader();
|
|
242
|
+
}
|
|
243
|
+
announceNewActiveSuggestionToScreenReader() {
|
|
244
|
+
const ariaLabel = this.suggestionManager.activeDescendantElement?.ariaLabel;
|
|
245
|
+
if (isMacOS() && ariaLabel) {
|
|
246
|
+
this.suggestionsAriaMessage.message = ariaLabel;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
announceNewSuggestionsToScreenReader() {
|
|
250
|
+
const numberOfSuggestionsToAnnounce = this.suggestionManager.allSuggestionElements.filter(elementHasQuery).length;
|
|
251
|
+
this.searchBoxAriaMessage.message = numberOfSuggestionsToAnnounce
|
|
252
|
+
? this.bindings.i18n.t(this.searchBoxState.value
|
|
253
|
+
? 'query-suggestions-available'
|
|
254
|
+
: 'query-suggestions-available-no-query', {
|
|
255
|
+
count: numberOfSuggestionsToAnnounce,
|
|
256
|
+
query: this.searchBoxState.value,
|
|
257
|
+
})
|
|
258
|
+
: this.bindings.i18n.t('query-suggestions-unavailable');
|
|
259
|
+
}
|
|
260
|
+
render() {
|
|
261
|
+
return html `${renderSearchBoxWrapper({
|
|
262
|
+
props: {
|
|
263
|
+
disabled: this.disableSearch,
|
|
264
|
+
onFocusout: (event) => {
|
|
265
|
+
if (!isFocusingOut(event)) {
|
|
266
|
+
return;
|
|
267
|
+
}
|
|
268
|
+
this.suggestionManager.clearSuggestions();
|
|
269
|
+
this.isExpanded = false;
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
})(html `
|
|
273
|
+
<atomic-icon
|
|
274
|
+
part="submit-icon"
|
|
275
|
+
.icon=${SearchSlimIcon}
|
|
276
|
+
class="my-auto mr-0 ml-4 h-4 w-4"
|
|
277
|
+
></atomic-icon>
|
|
278
|
+
${renderSearchBoxTextArea({
|
|
279
|
+
props: {
|
|
280
|
+
textAreaRef: this.textAreaRef,
|
|
281
|
+
loading: this.searchBoxState.isLoading,
|
|
282
|
+
i18n: this.bindings.i18n,
|
|
283
|
+
value: this.searchBoxState.value,
|
|
284
|
+
ariaLabel: this.getSearchInputLabel(),
|
|
285
|
+
title: this.bindings.i18n.t('search'),
|
|
286
|
+
onClear: () => {
|
|
287
|
+
this.searchBox.clear();
|
|
288
|
+
this.triggerTextAreaChange('');
|
|
289
|
+
},
|
|
290
|
+
popup: {
|
|
291
|
+
id: `${this.searchBoxId}-popup`,
|
|
292
|
+
activeDescendant: this.suggestionManager.activeDescendant || '',
|
|
293
|
+
expanded: this.isExpanded && this.suggestionManager.hasSuggestions,
|
|
294
|
+
hasSuggestions: this.suggestionManager.hasSuggestions,
|
|
295
|
+
},
|
|
296
|
+
onInput: (e) => this.onInput(e.target.value),
|
|
297
|
+
onFocus: () => this.onFocus(),
|
|
298
|
+
onKeyDown: (e) => this.onKeyDown(e),
|
|
299
|
+
},
|
|
300
|
+
})}
|
|
301
|
+
${this.renderSuggestions()}
|
|
302
|
+
`)}`;
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
AtomicInsightSearchBox.styles = styles;
|
|
306
|
+
__decorate([
|
|
307
|
+
state()
|
|
308
|
+
], AtomicInsightSearchBox.prototype, "bindings", void 0);
|
|
309
|
+
__decorate([
|
|
310
|
+
state()
|
|
311
|
+
], AtomicInsightSearchBox.prototype, "error", void 0);
|
|
312
|
+
__decorate([
|
|
313
|
+
bindStateToController('searchBox'),
|
|
314
|
+
state()
|
|
315
|
+
], AtomicInsightSearchBox.prototype, "searchBoxState", void 0);
|
|
316
|
+
__decorate([
|
|
317
|
+
state()
|
|
318
|
+
], AtomicInsightSearchBox.prototype, "isExpanded", void 0);
|
|
319
|
+
__decorate([
|
|
320
|
+
property({ type: Boolean, reflect: true, attribute: 'disable-search' })
|
|
321
|
+
], AtomicInsightSearchBox.prototype, "disableSearch", void 0);
|
|
322
|
+
__decorate([
|
|
323
|
+
property({ type: Number, reflect: true, attribute: 'number-of-suggestions' })
|
|
324
|
+
], AtomicInsightSearchBox.prototype, "numberOfSuggestions", void 0);
|
|
325
|
+
__decorate([
|
|
326
|
+
errorGuard(),
|
|
327
|
+
bindingGuard()
|
|
328
|
+
], AtomicInsightSearchBox.prototype, "render", null);
|
|
329
|
+
AtomicInsightSearchBox = __decorate([
|
|
330
|
+
customElement('atomic-insight-search-box'),
|
|
331
|
+
bindings(),
|
|
332
|
+
withTailwindStyles
|
|
333
|
+
], AtomicInsightSearchBox);
|
|
334
|
+
export { AtomicInsightSearchBox };
|