@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.
- package/custom-elements.json +8515 -8515
- package/dist/cjs/components/common/expandable-text/expandable-text.cjs +3 -1
- package/dist/cjs/components/insight/atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.cjs +3 -3
- package/dist/cjs/components/search/atomic-smart-snippet/atomic-smart-snippet.cjs +3 -3
- package/dist/cjs/components/search/atomic-smart-snippet-suggestions/atomic-smart-snippet-suggestions.cjs +3 -3
- package/dist/cjs/global/environment.cjs +1 -1
- package/dist/cjs/versions.cjs +1 -1
- package/dist/esm/components/common/expandable-text/expandable-text.js +3 -1
- package/dist/esm/components/insight/atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.js +3 -3
- package/dist/esm/components/search/atomic-smart-snippet/atomic-smart-snippet.js +3 -3
- package/dist/esm/components/search/atomic-smart-snippet-suggestions/atomic-smart-snippet-suggestions.js +3 -3
- package/dist/esm/global/environment.js +1 -1
- package/dist/esm/versions.js +1 -1
- package/dist/types/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.d.ts +0 -1
- package/dist/types/components/search/atomic-generated-answer/atomic-generated-answer.d.ts +0 -1
- package/package.json +4 -4
|
@@ -82,7 +82,9 @@ const renderExpandableText = ({ props: { isExpanded, isTruncated, isCollapsible,
|
|
|
82
82
|
style: 'text-primary',
|
|
83
83
|
class: buttonClassString,
|
|
84
84
|
title: buttonLabel,
|
|
85
|
-
|
|
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
|
-
@
|
|
145
|
-
@
|
|
146
|
-
@
|
|
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
|
-
@
|
|
205
|
-
@
|
|
206
|
-
@
|
|
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
|
-
@
|
|
144
|
-
@
|
|
145
|
-
@
|
|
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
|
`);
|
package/dist/cjs/versions.cjs
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
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
|
-
@
|
|
105
|
-
@
|
|
106
|
-
@
|
|
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
|
-
@
|
|
167
|
-
@
|
|
168
|
-
@
|
|
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
|
-
@
|
|
104
|
-
@
|
|
105
|
-
@
|
|
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
|
`);
|
package/dist/esm/versions.js
CHANGED
|
@@ -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.
|
|
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.
|
|
72
|
+
"@coveo/atomic-legacy": "0.0.21",
|
|
73
73
|
"@coveo/bueno": "1.1.9",
|
|
74
|
-
"@coveo/headless": "3.51.
|
|
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.
|
|
121
|
+
"@coveo/headless": "^3.51.5"
|
|
122
122
|
},
|
|
123
123
|
"peerDependenciesMeta": {
|
|
124
124
|
"typescript": {
|