@coveo/atomic-react 3.11.35 → 3.11.36
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/cjs/atomic-react.cjs +2 -4
- package/dist/cjs/atomic-react.cjs.map +1 -1
- package/dist/cjs/commerce/atomic-react.cjs +3 -7
- package/dist/cjs/commerce/atomic-react.cjs.map +1 -1
- package/dist/cjs/recommendation/atomic-react.cjs +2 -4
- package/dist/cjs/recommendation/atomic-react.cjs.map +1 -1
- package/package.json +3 -3
|
@@ -9297,7 +9297,7 @@ function getWindow() {
|
|
|
9297
9297
|
}
|
|
9298
9298
|
function getAtomicEnvironment(headlessVersion) {
|
|
9299
9299
|
return {
|
|
9300
|
-
version: "3.60.
|
|
9300
|
+
version: "3.60.4",
|
|
9301
9301
|
headlessVersion
|
|
9302
9302
|
};
|
|
9303
9303
|
}
|
|
@@ -10553,9 +10553,7 @@ let AtomicCommerceInterface$1 = class AtomicCommerceInterface extends ChildrenUp
|
|
|
10553
10553
|
scrollToTop() {
|
|
10554
10554
|
const scrollContainerElement = document.querySelector(this.scrollContainer);
|
|
10555
10555
|
if (!scrollContainerElement) return void console.warn(`Could not find the scroll container with the selector "${this.scrollContainer}". This will prevent UX interactions that require a scroll from working correctly. Please review the CSS selector in the scrollContainer option`);
|
|
10556
|
-
scrollContainerElement.scrollIntoView(
|
|
10557
|
-
behavior: 'smooth'
|
|
10558
|
-
});
|
|
10556
|
+
scrollContainerElement.scrollIntoView();
|
|
10559
10557
|
}
|
|
10560
10558
|
updateHash() {
|
|
10561
10559
|
const newFragment = this.urlManager.state.fragment;
|
|
@@ -14562,9 +14560,7 @@ let AtomicCommerceRecommendationInterface$1 = class AtomicCommerceRecommendation
|
|
|
14562
14560
|
scrollToTop() {
|
|
14563
14561
|
const scrollContainerElement = document.querySelector(this.scrollContainer);
|
|
14564
14562
|
if (!scrollContainerElement) return void this.bindings.engine.logger.warn(`Could not find the scroll container with the selector "${this.scrollContainer}". This will prevent UX interactions that require a scroll from working correctly. Please review the CSS selector in the scrollContainer option`);
|
|
14565
|
-
scrollContainerElement.scrollIntoView(
|
|
14566
|
-
behavior: 'smooth'
|
|
14567
|
-
});
|
|
14563
|
+
scrollContainerElement.scrollIntoView();
|
|
14568
14564
|
}
|
|
14569
14565
|
async internalInitialization(initEngine) {
|
|
14570
14566
|
await Promise.all([
|