@aleph-alpha/lib-mcp 2.1.1 → 2.2.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/chat-kit-components-meta.json +47 -0
- package/components-meta.json +34 -0
- package/package.json +3 -3
|
@@ -148,6 +148,53 @@
|
|
|
148
148
|
],
|
|
149
149
|
"_autoGenerated": true
|
|
150
150
|
},
|
|
151
|
+
"CkFeedbackDialog": {
|
|
152
|
+
"description": "Modal dialog for collecting qualitative feedback on an assistant response. Opened after a binary thumbs-up / thumbs-down click (see `CkFeedbackButton`), it lets the user pick a single reason code and add an optional free-text comment, then submit both alongside the original sentiment. One reason per submission: the backend (feedback-kit) stores a single `reason` enum per response, so the dialog is single-select by design. Fully prop-driven: the host application owns `open`, the list of reasons to show (fetched from `GET /feedback/config`), the response text to display, and the submission handler. The component only manages transient form state (the selected reason and free-text value) until the user submits or cancels. capture a free-text comment, drive a two-step rating flow rating, comment CkConversation, UiDialog, UiToggleGroup",
|
|
153
|
+
"category": "Feedback",
|
|
154
|
+
"useCases": [
|
|
155
|
+
"collect qualitative feedback",
|
|
156
|
+
"gather a reason code for a response"
|
|
157
|
+
],
|
|
158
|
+
"keywords": [
|
|
159
|
+
"feedback",
|
|
160
|
+
"dialog",
|
|
161
|
+
"modal",
|
|
162
|
+
"reason codes",
|
|
163
|
+
"free text",
|
|
164
|
+
"qualitative"
|
|
165
|
+
],
|
|
166
|
+
"related": [
|
|
167
|
+
"CkFeedbackButton",
|
|
168
|
+
"CkMessageActionButton",
|
|
169
|
+
"CkAgentMessage"
|
|
170
|
+
],
|
|
171
|
+
"props": [
|
|
172
|
+
"open",
|
|
173
|
+
"sentiment",
|
|
174
|
+
"responseText",
|
|
175
|
+
"reasons",
|
|
176
|
+
"maxFreeTextLength",
|
|
177
|
+
"submitting",
|
|
178
|
+
"disabled",
|
|
179
|
+
"titlePositive",
|
|
180
|
+
"titleNegative",
|
|
181
|
+
"responseHeading",
|
|
182
|
+
"description",
|
|
183
|
+
"otherLabel",
|
|
184
|
+
"otherTooltip",
|
|
185
|
+
"freeTextPlaceholder",
|
|
186
|
+
"cancelLabel",
|
|
187
|
+
"submitLabel"
|
|
188
|
+
],
|
|
189
|
+
"examples": [
|
|
190
|
+
"Positive",
|
|
191
|
+
"Negative",
|
|
192
|
+
"NoResponseColumn",
|
|
193
|
+
"Submitting",
|
|
194
|
+
"WithFeedbackButton"
|
|
195
|
+
],
|
|
196
|
+
"_autoGenerated": true
|
|
197
|
+
},
|
|
151
198
|
"CkFileItemsList": {
|
|
152
199
|
"description": "Horizontal list of file attachments; collapses to a popover once the count exceeds `maxInline`.",
|
|
153
200
|
"category": "Form Inputs",
|
package/components-meta.json
CHANGED
|
@@ -90,6 +90,40 @@
|
|
|
90
90
|
],
|
|
91
91
|
"_autoGenerated": true
|
|
92
92
|
},
|
|
93
|
+
"UiAutocomplete": {
|
|
94
|
+
"description": "Beta: Filterable select input for choosing one or many options. This component is currently beta. Its API and behavior may still change before it is considered stable.",
|
|
95
|
+
"category": "Form Inputs",
|
|
96
|
+
"useCases": [
|
|
97
|
+
"autocomplete",
|
|
98
|
+
"searchable select",
|
|
99
|
+
"multi select",
|
|
100
|
+
"command picker"
|
|
101
|
+
],
|
|
102
|
+
"keywords": [
|
|
103
|
+
"autocomplete",
|
|
104
|
+
"combobox",
|
|
105
|
+
"select",
|
|
106
|
+
"search",
|
|
107
|
+
"filter",
|
|
108
|
+
"multi-select",
|
|
109
|
+
"beta"
|
|
110
|
+
],
|
|
111
|
+
"related": [
|
|
112
|
+
"UiSelect",
|
|
113
|
+
"UiTagsInput",
|
|
114
|
+
"UiListbox"
|
|
115
|
+
],
|
|
116
|
+
"props": [],
|
|
117
|
+
"examples": [
|
|
118
|
+
"Default",
|
|
119
|
+
"Multiple",
|
|
120
|
+
"WithSlots",
|
|
121
|
+
"WithBadges",
|
|
122
|
+
"WithCheckboxes",
|
|
123
|
+
"WithExternalItems"
|
|
124
|
+
],
|
|
125
|
+
"_autoGenerated": true
|
|
126
|
+
},
|
|
93
127
|
"UiAvatar": {
|
|
94
128
|
"description": "A circular image for representing users or entities. Use for profile pictures, user lists, or any person/entity representation.",
|
|
95
129
|
"category": "Data Display",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aleph-alpha/lib-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/server.js",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"@aleph-alpha/tsconfig-frontend": "0.6.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@aleph-alpha/ui-library": "2.
|
|
40
|
-
"@aleph-alpha/chat-kit": "1.
|
|
39
|
+
"@aleph-alpha/ui-library": "2.8.0",
|
|
40
|
+
"@aleph-alpha/chat-kit": "1.13.0"
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://docs.aleph-alpha.com",
|
|
43
43
|
"scripts": {
|