@coveo/atomic 3.60.3 → 3.60.4

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.
@@ -231,9 +231,7 @@ class AtomicCommerceInterface extends (0, children_update_complete_mixin_cjs_nam
231
231
  scrollToTop() {
232
232
  const scrollContainerElement = document.querySelector(this.scrollContainer);
233
233
  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`);
234
- scrollContainerElement.scrollIntoView({
235
- behavior: 'smooth'
236
- });
234
+ scrollContainerElement.scrollIntoView();
237
235
  }
238
236
  updateHash() {
239
237
  const newFragment = this.urlManager.state.fragment;
@@ -122,9 +122,7 @@ class AtomicCommerceRecommendationInterface extends (0, children_update_complete
122
122
  scrollToTop() {
123
123
  const scrollContainerElement = document.querySelector(this.scrollContainer);
124
124
  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`);
125
- scrollContainerElement.scrollIntoView({
126
- behavior: 'smooth'
127
- });
125
+ scrollContainerElement.scrollIntoView();
128
126
  }
129
127
  async internalInitialization(initEngine) {
130
128
  await Promise.all([
@@ -96,9 +96,7 @@ class AtomicSearchInterface extends (0, children_update_complete_mixin_cjs_names
96
96
  scrollToTop() {
97
97
  const scrollContainerElement = document.querySelector(this.scrollContainer);
98
98
  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`);
99
- scrollContainerElement.scrollIntoView({
100
- behavior: 'smooth'
101
- });
99
+ scrollContainerElement.scrollIntoView();
102
100
  }
103
101
  closeRelevanceInspector() {
104
102
  if (this.relevanceInspector) this.relevanceInspector.open = false;
@@ -32,7 +32,7 @@ function getWindow() {
32
32
  }
33
33
  function getAtomicEnvironment(headlessVersion) {
34
34
  return {
35
- version: "3.60.3",
35
+ version: "3.60.4",
36
36
  headlessVersion
37
37
  };
38
38
  }
@@ -32,7 +32,7 @@ __webpack_require__.d(__webpack_exports__, {
32
32
  headlessVersion: ()=>package_json_namespaceObject.version
33
33
  });
34
34
  var package_json_namespaceObject = require("@coveo/headless/package.json");
35
- const atomicVersion = "3.60.3";
35
+ const atomicVersion = "3.60.4";
36
36
  exports.atomicVersion = __webpack_exports__.atomicVersion;
37
37
  exports.headlessVersion = __webpack_exports__.headlessVersion;
38
38
  for(var __rspack_i in __webpack_exports__)if (-1 === [
@@ -189,9 +189,7 @@ class AtomicCommerceInterface extends ChildrenUpdateCompleteMixin(LitElement) {
189
189
  scrollToTop() {
190
190
  const scrollContainerElement = document.querySelector(this.scrollContainer);
191
191
  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`);
192
- scrollContainerElement.scrollIntoView({
193
- behavior: 'smooth'
194
- });
192
+ scrollContainerElement.scrollIntoView();
195
193
  }
196
194
  updateHash() {
197
195
  const newFragment = this.urlManager.state.fragment;
@@ -80,9 +80,7 @@ class AtomicCommerceRecommendationInterface extends ChildrenUpdateCompleteMixin(
80
80
  scrollToTop() {
81
81
  const scrollContainerElement = document.querySelector(this.scrollContainer);
82
82
  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`);
83
- scrollContainerElement.scrollIntoView({
84
- behavior: 'smooth'
85
- });
83
+ scrollContainerElement.scrollIntoView();
86
84
  }
87
85
  async internalInitialization(initEngine) {
88
86
  await Promise.all([
@@ -54,9 +54,7 @@ class AtomicSearchInterface extends ChildrenUpdateCompleteMixin(LitElement) {
54
54
  scrollToTop() {
55
55
  const scrollContainerElement = document.querySelector(this.scrollContainer);
56
56
  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`);
57
- scrollContainerElement.scrollIntoView({
58
- behavior: 'smooth'
59
- });
57
+ scrollContainerElement.scrollIntoView();
60
58
  }
61
59
  closeRelevanceInspector() {
62
60
  if (this.relevanceInspector) this.relevanceInspector.open = false;
@@ -3,7 +3,7 @@ function getWindow() {
3
3
  }
4
4
  function getAtomicEnvironment(headlessVersion) {
5
5
  return {
6
- version: "3.60.3",
6
+ version: "3.60.4",
7
7
  headlessVersion
8
8
  };
9
9
  }
@@ -1,3 +1,3 @@
1
- const atomicVersion = "3.60.3";
1
+ const atomicVersion = "3.60.4";
2
2
  export { version as headlessVersion } from "@coveo/headless/package.json";
3
3
  export { atomicVersion };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/atomic",
3
- "version": "3.60.3",
3
+ "version": "3.60.4",
4
4
  "description": "A web-component library for building modern UIs interfacing with the Coveo platform",
5
5
  "homepage": "https://docs.coveo.com/en/atomic/latest/",
6
6
  "license": "Apache-2.0",
@@ -69,9 +69,9 @@
69
69
  "i18next-http-backend": "3.0.6",
70
70
  "lit": "3.3.3",
71
71
  "marked": "12.0.2",
72
- "@coveo/atomic-legacy": "0.0.25",
72
+ "@coveo/atomic-legacy": "0.0.26",
73
73
  "@coveo/bueno": "1.1.9",
74
- "@coveo/headless": "3.53.2"
74
+ "@coveo/headless": "3.54.0"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@custom-elements-manifest/analyzer": "0.11.0",
@@ -119,7 +119,7 @@
119
119
  "peerDependencies": {
120
120
  "typescript": ">=5.0.0",
121
121
  "@coveo/bueno": "^1.1.9",
122
- "@coveo/headless": "^3.53.2"
122
+ "@coveo/headless": "^3.54.0"
123
123
  },
124
124
  "peerDependenciesMeta": {
125
125
  "typescript": {