@coveo/atomic 3.59.5 → 3.59.6

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.
@@ -82,7 +82,9 @@ const renderExpandableText = ({ props: { isExpanded, isTruncated, isCollapsible,
82
82
  style: 'text-primary',
83
83
  class: buttonClassString,
84
84
  title: buttonLabel,
85
- ariaExpanded: isExpanded ? 'true' : 'false',
85
+ ...isCollapsible && {
86
+ ariaExpanded: isExpanded ? 'true' : 'false'
87
+ },
86
88
  onClick: onToggleExpand
87
89
  }
88
90
  })((0, external_lit_namespaceObject.html)` <atomic-icon
@@ -141,9 +141,9 @@ class AtomicInsightSmartSnippetSuggestions extends external_lit_namespaceObject.
141
141
  })((0, external_lit_namespaceObject.html)`
142
142
  <atomic-smart-snippet-source
143
143
  .anchorAttributes=${(0, attributes_slot_cjs_namespaceObject.getAttributesFromLinkSlotContent)(this, 'source-anchor-attributes')}
144
- @beginDelayedSelectSource=${()=>this.smartSnippetQuestionsList.beginDelayedSelectSource(questionAnswerId)}
145
- @cancelPendingSelectSource=${()=>this.smartSnippetQuestionsList.cancelPendingSelectSource(questionAnswerId)}
146
- @selectSource=${()=>this.smartSnippetQuestionsList.selectSource(questionAnswerId)}
144
+ @begin-delayed-select-source=${()=>this.smartSnippetQuestionsList.beginDelayedSelectSource(questionAnswerId)}
145
+ @cancel-pending-select-source=${()=>this.smartSnippetQuestionsList.cancelPendingSelectSource(questionAnswerId)}
146
+ @select-source=${()=>this.smartSnippetQuestionsList.selectSource(questionAnswerId)}
147
147
  .source=${source}
148
148
  ></atomic-smart-snippet-source>
149
149
  `);
@@ -201,9 +201,9 @@ class AtomicSmartSnippet extends external_lit_namespaceObject.LitElement {
201
201
  <atomic-smart-snippet-source
202
202
  .source=${source}
203
203
  .anchorAttributes=${(0, attributes_slot_cjs_namespaceObject.getAttributesFromLinkSlotContent)(this, 'source-anchor-attributes')}
204
- @selectSource=${this.smartSnippet.selectSource}
205
- @beginDelayedSelectSource=${this.smartSnippet.beginDelayedSelectSource}
206
- @cancelPendingSelectSource=${this.smartSnippet.cancelPendingSelectSource}
204
+ @select-source=${this.smartSnippet.selectSource}
205
+ @begin-delayed-select-source=${this.smartSnippet.beginDelayedSelectSource}
206
+ @cancel-pending-select-source=${this.smartSnippet.cancelPendingSelectSource}
207
207
  ></atomic-smart-snippet-source>
208
208
  `)}
209
209
  ${(0, smart_snippet_feedback_banner_cjs_namespaceObject.renderSmartSnippetFeedbackBanner)({
@@ -140,9 +140,9 @@ class AtomicSmartSnippetSuggestions extends external_lit_namespaceObject.LitElem
140
140
  })((0, external_lit_namespaceObject.html)`
141
141
  <atomic-smart-snippet-source
142
142
  .anchorAttributes=${(0, attributes_slot_cjs_namespaceObject.getAttributesFromLinkSlotContent)(this, 'source-anchor-attributes')}
143
- @beginDelayedSelectSource=${()=>this.smartSnippetQuestionsList.beginDelayedSelectSource(questionAnswerId)}
144
- @cancelPendingSelectSource=${()=>this.smartSnippetQuestionsList.cancelPendingSelectSource(questionAnswerId)}
145
- @selectSource=${()=>this.smartSnippetQuestionsList.selectSource(questionAnswerId)}
143
+ @begin-delayed-select-source=${()=>this.smartSnippetQuestionsList.beginDelayedSelectSource(questionAnswerId)}
144
+ @cancel-pending-select-source=${()=>this.smartSnippetQuestionsList.cancelPendingSelectSource(questionAnswerId)}
145
+ @select-source=${()=>this.smartSnippetQuestionsList.selectSource(questionAnswerId)}
146
146
  .source=${source}
147
147
  ></atomic-smart-snippet-source>
148
148
  `);
@@ -33,7 +33,7 @@ function getWindow() {
33
33
  }
34
34
  function getAtomicEnvironment(headlessVersion) {
35
35
  return {
36
- version: "3.59.5",
36
+ version: "3.59.6",
37
37
  headlessVersion
38
38
  };
39
39
  }
@@ -28,7 +28,7 @@ __webpack_require__.d(__webpack_exports__, {
28
28
  headlessVersion: ()=>package_json_namespaceObject.version
29
29
  });
30
30
  const package_json_namespaceObject = require("@coveo/headless/package.json");
31
- const atomicVersion = "3.59.5";
31
+ const atomicVersion = "3.59.6";
32
32
  exports.atomicVersion = __webpack_exports__.atomicVersion;
33
33
  exports.headlessVersion = __webpack_exports__.headlessVersion;
34
34
  for(var __rspack_i in __webpack_exports__)if (-1 === [
@@ -43,7 +43,9 @@ const renderExpandableText = ({ props: { isExpanded, isTruncated, isCollapsible,
43
43
  style: 'text-primary',
44
44
  class: buttonClassString,
45
45
  title: buttonLabel,
46
- ariaExpanded: isExpanded ? 'true' : 'false',
46
+ ...isCollapsible && {
47
+ ariaExpanded: isExpanded ? 'true' : 'false'
48
+ },
47
49
  onClick: onToggleExpand
48
50
  }
49
51
  })(html` <atomic-icon
@@ -101,9 +101,9 @@ class AtomicInsightSmartSnippetSuggestions extends LitElement {
101
101
  })(html`
102
102
  <atomic-smart-snippet-source
103
103
  .anchorAttributes=${getAttributesFromLinkSlotContent(this, 'source-anchor-attributes')}
104
- @beginDelayedSelectSource=${()=>this.smartSnippetQuestionsList.beginDelayedSelectSource(questionAnswerId)}
105
- @cancelPendingSelectSource=${()=>this.smartSnippetQuestionsList.cancelPendingSelectSource(questionAnswerId)}
106
- @selectSource=${()=>this.smartSnippetQuestionsList.selectSource(questionAnswerId)}
104
+ @begin-delayed-select-source=${()=>this.smartSnippetQuestionsList.beginDelayedSelectSource(questionAnswerId)}
105
+ @cancel-pending-select-source=${()=>this.smartSnippetQuestionsList.cancelPendingSelectSource(questionAnswerId)}
106
+ @select-source=${()=>this.smartSnippetQuestionsList.selectSource(questionAnswerId)}
107
107
  .source=${source}
108
108
  ></atomic-smart-snippet-source>
109
109
  `);
@@ -163,9 +163,9 @@ class AtomicSmartSnippet extends LitElement {
163
163
  <atomic-smart-snippet-source
164
164
  .source=${source}
165
165
  .anchorAttributes=${getAttributesFromLinkSlotContent(this, 'source-anchor-attributes')}
166
- @selectSource=${this.smartSnippet.selectSource}
167
- @beginDelayedSelectSource=${this.smartSnippet.beginDelayedSelectSource}
168
- @cancelPendingSelectSource=${this.smartSnippet.cancelPendingSelectSource}
166
+ @select-source=${this.smartSnippet.selectSource}
167
+ @begin-delayed-select-source=${this.smartSnippet.beginDelayedSelectSource}
168
+ @cancel-pending-select-source=${this.smartSnippet.cancelPendingSelectSource}
169
169
  ></atomic-smart-snippet-source>
170
170
  `)}
171
171
  ${renderSmartSnippetFeedbackBanner({
@@ -100,9 +100,9 @@ class AtomicSmartSnippetSuggestions extends LitElement {
100
100
  })(html`
101
101
  <atomic-smart-snippet-source
102
102
  .anchorAttributes=${getAttributesFromLinkSlotContent(this, 'source-anchor-attributes')}
103
- @beginDelayedSelectSource=${()=>this.smartSnippetQuestionsList.beginDelayedSelectSource(questionAnswerId)}
104
- @cancelPendingSelectSource=${()=>this.smartSnippetQuestionsList.cancelPendingSelectSource(questionAnswerId)}
105
- @selectSource=${()=>this.smartSnippetQuestionsList.selectSource(questionAnswerId)}
103
+ @begin-delayed-select-source=${()=>this.smartSnippetQuestionsList.beginDelayedSelectSource(questionAnswerId)}
104
+ @cancel-pending-select-source=${()=>this.smartSnippetQuestionsList.cancelPendingSelectSource(questionAnswerId)}
105
+ @select-source=${()=>this.smartSnippetQuestionsList.selectSource(questionAnswerId)}
106
106
  .source=${source}
107
107
  ></atomic-smart-snippet-source>
108
108
  `);
@@ -3,7 +3,7 @@ function getWindow() {
3
3
  }
4
4
  function getAtomicEnvironment(headlessVersion) {
5
5
  return {
6
- version: "3.59.5",
6
+ version: "3.59.6",
7
7
  headlessVersion
8
8
  };
9
9
  }
@@ -1,3 +1,3 @@
1
- const atomicVersion = "3.59.5";
1
+ const atomicVersion = "3.59.6";
2
2
  export { version as headlessVersion } from "@coveo/headless/package.json";
3
3
  export { atomicVersion };
@@ -4,7 +4,6 @@ import type { InsightBindings } from '../atomic-insight-interface/atomic-insight
4
4
  import type { InitializableComponent } from '../../../decorators/types';
5
5
  /**
6
6
  * The `atomic-insight-generated-answer` component uses Coveo Machine Learning (Coveo ML) models to automatically generate an answer to a query executed by the user.
7
- * For more information, see [About Relevance Generative Answering (RGA)](https://docs.coveo.com/en/n9de0370/)
8
7
  *
9
8
  * @slot no-answer-message - Lets you pass a custom sorry message when no answer is generated.
10
9
  *
@@ -6,7 +6,6 @@ import type { Bindings } from '../atomic-search-interface/atomic-search-interfac
6
6
  import type { InitializableComponent } from '../../../decorators/types';
7
7
  /**
8
8
  * The `atomic-generated-answer` component uses Coveo Machine Learning (Coveo ML) models to automatically generate an answer to a query executed by the user.
9
- * For more information, see [About Relevance Generative Answering (RGA)](https://docs.coveo.com/en/n9de0370/)
10
9
  *
11
10
  * @slot no-answer-message - Lets you pass a custom sorry message when no answer is generated.
12
11
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/atomic",
3
- "version": "3.59.5",
3
+ "version": "3.59.6",
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.20",
72
+ "@coveo/atomic-legacy": "0.0.21",
73
73
  "@coveo/bueno": "1.1.9",
74
- "@coveo/headless": "3.51.4"
74
+ "@coveo/headless": "3.51.5"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@ag-ui/client": "0.0.53",
@@ -118,7 +118,7 @@
118
118
  "peerDependencies": {
119
119
  "typescript": ">=5.0.0",
120
120
  "@coveo/bueno": "^1.1.9",
121
- "@coveo/headless": "^3.51.4"
121
+ "@coveo/headless": "^3.51.5"
122
122
  },
123
123
  "peerDependenciesMeta": {
124
124
  "typescript": {