@aleph-alpha/lib-mcp 4.0.0 → 4.1.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.
@@ -254,6 +254,38 @@
254
254
  ],
255
255
  "_autoGenerated": true
256
256
  },
257
+ "CkEditableUserMessage": {
258
+ "description": "Editable variant of {@link CkUserMessage}. Wraps the plain user message in a floating actions toolbar (via `UiFloatActions`) that reveals an edit button on hover and keyboard focus. Activating it emits the `edit` event; the consumer owns the actual editing flow (e.g. swapping in an inline editor). Use this instead of `CkUserMessage` only when a turn needs the edit affordance — plain, non-interactive turns should keep using `CkUserMessage`.",
259
+ "category": "Messages",
260
+ "useCases": [
261
+ "edit user message",
262
+ "revise prompt",
263
+ "editable conversation turn",
264
+ "message hover actions"
265
+ ],
266
+ "keywords": [
267
+ "user",
268
+ "message",
269
+ "edit",
270
+ "editable",
271
+ "chat",
272
+ "conversation",
273
+ "turn"
274
+ ],
275
+ "related": [
276
+ "CkUserMessage",
277
+ "CkAgentMessage",
278
+ "CkConversation"
279
+ ],
280
+ "props": [
281
+ "message",
282
+ "collapsedLines"
283
+ ],
284
+ "examples": [
285
+ "Default"
286
+ ],
287
+ "_autoGenerated": true
288
+ },
257
289
  "CkFeedbackButton": {
258
290
  "description": "Binary thumbs up / thumbs down feedback control for assistant messages. Fully prop-driven: the host application owns the selection and lock state and decides when (or if) to persist it to a backend. Labels default to those provided by `useChatKitLabels` (which can be translated via `provideChatKitLabels`). The `ariaLabel*` props override the injected labels on a per-instance basis when set.",
259
291
  "category": "Feedback",
@@ -828,7 +860,7 @@
828
860
  "_autoGenerated": true
829
861
  },
830
862
  "CkUserMessage": {
831
- "description": "Layout for a single user turn in a conversation. Renders the message text right-aligned in the muted on-surface color with a max-width; supports a default slot for custom inline content. When `collapsedLines` is set, long messages are clamped with a fade and a \"Show more\" / \"Show less\" toggle.",
863
+ "description": "Layout for a single user turn in a conversation. Renders the message text right-aligned in the muted on-surface color with a max-width; supports a default slot for custom inline content. When `collapsedLines` is set, long messages are clamped with a fade and a \"Show more\" / \"Show less\" toggle. For an editable variant (hover/focus edit toolbar), see {@link CkEditableUserMessage}, which wraps this component.",
832
864
  "category": "Messages",
833
865
  "useCases": [
834
866
  "render user message",
@@ -847,6 +879,7 @@
847
879
  "show more"
848
880
  ],
849
881
  "related": [
882
+ "CkEditableUserMessage",
850
883
  "CkAgentMessage",
851
884
  "CkConversation"
852
885
  ],
@@ -901,11 +934,11 @@
901
934
  ],
902
935
  "examples": [
903
936
  "Default",
904
- "ChainOfThought",
905
937
  "WithIcon",
906
938
  "WithCustomAvatarFallback",
907
939
  "NoIcon",
908
940
  "WithCustomIcon",
941
+ "WithLoadingIcon",
909
942
  "WithFooterActions",
910
943
  "WithCustomUserContent",
911
944
  "WithCustomAgentContent",
@@ -239,6 +239,11 @@
239
239
  "Default",
240
240
  "DesignNotes",
241
241
  "Accessibility",
242
+ "KeyboardNavigation",
243
+ "KeyboardGroupNavigation",
244
+ "ZoomMagnification",
245
+ "ScreenReader",
246
+ "MobileBreakpoint",
242
247
  "Outline",
243
248
  "Secondary",
244
249
  "Ghost",
@@ -250,7 +255,7 @@
250
255
  "LoadingWithBothIcons",
251
256
  "AsChild",
252
257
  "AllVariants",
253
- "DisabledHoverBleed",
258
+ "Disabled",
254
259
  "AllVariantsAndSizes"
255
260
  ],
256
261
  "_autoGenerated": true
@@ -1805,7 +1810,8 @@
1805
1810
  "align",
1806
1811
  "class",
1807
1812
  "delayDuration",
1808
- "disabled"
1813
+ "disabled",
1814
+ "to"
1809
1815
  ],
1810
1816
  "examples": [
1811
1817
  "Default",
@@ -1863,7 +1869,8 @@
1863
1869
  "WithMinHeightSmallDataset",
1864
1870
  "WithRowActions",
1865
1871
  "WithCellFormatting",
1866
- "WithRowClick"
1872
+ "WithRowClick",
1873
+ "WithFilterMenu"
1867
1874
  ],
1868
1875
  "_autoGenerated": true
1869
1876
  },
@@ -1972,6 +1979,54 @@
1972
1979
  ],
1973
1980
  "_autoGenerated": true
1974
1981
  },
1982
+ "UiFloatActions": {
1983
+ "description": "Anchors floating action content to a trigger element on hover, focus, or click. Use for contextual toolbars, quick actions, and inline controls. For rich panels or forms, prefer `UiPopover`. This component is currently experimental. Its API and behavior may still change before it is considered stable.",
1984
+ "category": "Overlays",
1985
+ "useCases": [
1986
+ "contextual toolbar",
1987
+ "inline actions",
1988
+ "hover controls",
1989
+ "keyboard toolbar"
1990
+ ],
1991
+ "keywords": [
1992
+ "float",
1993
+ "anchor",
1994
+ "floating",
1995
+ "toolbar",
1996
+ "hover",
1997
+ "focus",
1998
+ "contextual",
1999
+ "experimental",
2000
+ "actions"
2001
+ ],
2002
+ "related": [
2003
+ "UiFloatActionItems",
2004
+ "UiPopover",
2005
+ "UiTooltip",
2006
+ "useAnchorFloat"
2007
+ ],
2008
+ "props": [
2009
+ "trigger",
2010
+ "placement",
2011
+ "offset",
2012
+ "open",
2013
+ "openDelay",
2014
+ "closeDelay",
2015
+ "dismissOnOutsideClick",
2016
+ "dismissOnEscape",
2017
+ "ariaLabel"
2018
+ ],
2019
+ "examples": [
2020
+ "ShowModes",
2021
+ "IconOnlyWithTooltip",
2022
+ "ButtonWithText",
2023
+ "Orientation",
2024
+ "ItemTypes",
2025
+ "AllStates",
2026
+ "Composable"
2027
+ ],
2028
+ "_autoGenerated": true
2029
+ },
1975
2030
  "UiPlaceholder": {
1976
2031
  "description": "Placeholder for foundation components (internal development use).",
1977
2032
  "category": "Foundations",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aleph-alpha/lib-mcp",
3
- "version": "4.0.0",
3
+ "version": "4.1.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.7.0"
37
37
  },
38
38
  "peerDependencies": {
39
- "@aleph-alpha/ui-library": "5.0.0",
40
- "@aleph-alpha/chat-kit": "5.0.0"
39
+ "@aleph-alpha/ui-library": "5.4.0",
40
+ "@aleph-alpha/chat-kit": "5.3.0"
41
41
  },
42
42
  "homepage": "https://docs.aleph-alpha.com",
43
43
  "scripts": {